commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
DiscountOnTotalPrice.php
1<?php
2
3declare(strict_types=1);
10
14
16{
17 public const FIELD_DISCOUNTED_AMOUNT = 'discountedAmount';
18 public const FIELD_INCLUDED_DISCOUNTS = 'includedDiscounts';
19 public const FIELD_DISCOUNTED_NET_AMOUNT = 'discountedNetAmount';
20 public const FIELD_DISCOUNTED_GROSS_AMOUNT = 'discountedGrossAmount';
21
28 public function getDiscountedAmount();
29
36 public function getIncludedDiscounts();
37
45 public function getDiscountedNetAmount();
46
54 public function getDiscountedGrossAmount();
55
59 public function setDiscountedAmount(?TypedMoney $discountedAmount): void;
60
64 public function setIncludedDiscounts(?DiscountedTotalPricePortionCollection $includedDiscounts): void;
65
69 public function setDiscountedNetAmount(?TypedMoney $discountedNetAmount): void;
70
74 public function setDiscountedGrossAmount(?TypedMoney $discountedGrossAmount): void;
75}
setDiscountedAmount(?TypedMoney $discountedAmount)
setDiscountedNetAmount(?TypedMoney $discountedNetAmount)
setDiscountedGrossAmount(?TypedMoney $discountedGrossAmount)
setIncludedDiscounts(?DiscountedTotalPricePortionCollection $includedDiscounts)