commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CartDiscountValueFixedDraftBuilder.php
1 <?php
2 
3 declare(strict_types=1);
10 
17 use stdClass;
18 
23 {
28  private $money;
29 
38  public function getMoney()
39  {
40  return $this->money;
41  }
42 
47  public function withMoney(?MoneyCollection $money)
48  {
49  $this->money = $money;
50 
51  return $this;
52  }
53 
54 
56  {
58  $this->money
59  );
60  }
61 
62  public static function of(): CartDiscountValueFixedDraftBuilder
63  {
64  return new self();
65  }
66 }