commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
TaxPortionDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
15 interface TaxPortionDraft extends JsonObject
16 {
17  public const FIELD_NAME = 'name';
18  public const FIELD_RATE = 'rate';
19  public const FIELD_AMOUNT = 'amount';
20 
27  public function getName();
28 
35  public function getRate();
36 
43  public function getAmount();
44 
48  public function setName(?string $name): void;
49 
53  public function setRate(?float $rate): void;
54 
58  public function setAmount(?Money $amount): void;
59 }