commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
TaxCategoryDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface TaxCategoryDraft extends JsonObject
15 {
16  public const FIELD_NAME = 'name';
17  public const FIELD_DESCRIPTION = 'description';
18  public const FIELD_RATES = 'rates';
19  public const FIELD_KEY = 'key';
20 
27  public function getName();
28 
35  public function getDescription();
36 
43  public function getRates();
44 
51  public function getKey();
52 
56  public function setName(?string $name): void;
57 
61  public function setDescription(?string $description): void;
62 
66  public function setRates(?TaxRateDraftCollection $rates): void;
67 
71  public function setKey(?string $key): void;
72 }