commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
DiscountedLineItemPortionDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_DISCOUNT = 'discount';
19  public const FIELD_DISCOUNTED_AMOUNT = 'discountedAmount';
20 
27  public function getDiscount();
28 
35  public function getDiscountedAmount();
36 
40  public function setDiscount(?Reference $discount): void;
41 
45  public function setDiscountedAmount(?TypedMoneyDraft $discountedAmount): void;
46 }
setDiscountedAmount(?TypedMoneyDraft $discountedAmount)