commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
DiscountedPriceDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
16 {
17  public const FIELD_VALUE = 'value';
18  public const FIELD_DISCOUNT = 'discount';
19 
26  public function getValue();
27 
34  public function getDiscount();
35 
39  public function setValue(?Money $value): void;
40 
44  public function setDiscount(?ProductDiscountReference $discount): void;
45 }
setDiscount(?ProductDiscountReference $discount)