commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
TaxedPriceDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
16 interface TaxedPriceDraft extends JsonObject
17 {
18  public const FIELD_TOTAL_NET = 'totalNet';
19  public const FIELD_TOTAL_GROSS = 'totalGross';
20  public const FIELD_TAX_PORTIONS = 'taxPortions';
21  public const FIELD_TOTAL_TAX = 'totalTax';
22 
29  public function getTotalNet();
30 
37  public function getTotalGross();
38 
46  public function getTaxPortions();
47 
54  public function getTotalTax();
55 
59  public function setTotalNet(?Money $totalNet): void;
60 
64  public function setTotalGross(?Money $totalGross): void;
65 
69  public function setTaxPortions(?TaxPortionDraftCollection $taxPortions): void;
70 
74  public function setTotalTax(?TypedMoneyDraft $totalTax): void;
75 }
setTotalTax(?TypedMoneyDraft $totalTax)
setTaxPortions(?TaxPortionDraftCollection $taxPortions)