commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CartDiscountValueFixedDraftBuilder.php
1<?php
2
3declare(strict_types=1);
10
17use stdClass;
18
23{
28 private $money;
29
34 private $applicationMode;
35
44 public function getMoney()
45 {
46 return $this->money;
47 }
48
56 public function getApplicationMode()
57 {
58 return $this->applicationMode;
59 }
60
65 public function withMoney(?MoneyCollection $money)
66 {
67 $this->money = $money;
68
69 return $this;
70 }
71
76 public function withApplicationMode(?string $applicationMode)
77 {
78 $this->applicationMode = $applicationMode;
79
80 return $this;
81 }
82
83
85 {
87 $this->money,
88 $this->applicationMode
89 );
90 }
91
92 public static function of(): CartDiscountValueFixedDraftBuilder
93 {
94 return new self();
95 }
96}