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