commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
TaxRateDraft.php
1<?php
2
3declare(strict_types=1);
10
13
14interface TaxRateDraft extends JsonObject
15{
16 public const FIELD_NAME = 'name';
17 public const FIELD_AMOUNT = 'amount';
18 public const FIELD_INCLUDED_IN_PRICE = 'includedInPrice';
19 public const FIELD_COUNTRY = 'country';
20 public const FIELD_STATE = 'state';
21 public const FIELD_SUB_RATES = 'subRates';
22 public const FIELD_KEY = 'key';
23
30 public function getName();
31
40 public function getAmount();
41
48 public function getIncludedInPrice();
49
56 public function getCountry();
57
64 public function getState();
65
73 public function getSubRates();
74
81 public function getKey();
82
86 public function setName(?string $name): void;
87
91 public function setAmount(?float $amount): void;
92
96 public function setIncludedInPrice(?bool $includedInPrice): void;
97
101 public function setCountry(?string $country): void;
102
106 public function setState(?string $state): void;
107
111 public function setSubRates(?SubRateCollection $subRates): void;
112
116 public function setKey(?string $key): void;
117}
setSubRates(?SubRateCollection $subRates)