commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
TaxCategory.php
1<?php
2
3declare(strict_types=1);
10
16use DateTimeImmutable;
17
18interface TaxCategory extends BaseResource
19{
20 public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
21 public const FIELD_CREATED_BY = 'createdBy';
22 public const FIELD_NAME = 'name';
23 public const FIELD_DESCRIPTION = 'description';
24 public const FIELD_RATES = 'rates';
25 public const FIELD_KEY = 'key';
26
33 public function getId();
34
41 public function getVersion();
42
49 public function getCreatedAt();
50
57 public function getLastModifiedAt();
58
65 public function getLastModifiedBy();
66
73 public function getCreatedBy();
74
81 public function getName();
82
89 public function getDescription();
90
97 public function getRates();
98
105 public function getKey();
106
110 public function setId(?string $id): void;
111
115 public function setVersion(?int $version): void;
116
120 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
121
125 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
126
130 public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
131
135 public function setCreatedBy(?CreatedBy $createdBy): void;
136
140 public function setName(?string $name): void;
141
145 public function setDescription(?string $description): void;
146
150 public function setRates(?TaxRateCollection $rates): void;
151
155 public function setKey(?string $key): void;
156}
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setCreatedAt(?DateTimeImmutable $createdAt)