commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ShippingMethod.php
1 <?php
2 
3 declare(strict_types=1);
10 
19 use DateTimeImmutable;
20 
21 interface ShippingMethod extends BaseResource
22 {
23  public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
24  public const FIELD_CREATED_BY = 'createdBy';
25  public const FIELD_KEY = 'key';
26  public const FIELD_NAME = 'name';
27  public const FIELD_LOCALIZED_NAME = 'localizedName';
28  public const FIELD_DESCRIPTION = 'description';
29  public const FIELD_LOCALIZED_DESCRIPTION = 'localizedDescription';
30  public const FIELD_TAX_CATEGORY = 'taxCategory';
31  public const FIELD_ZONE_RATES = 'zoneRates';
32  public const FIELD_ACTIVE = 'active';
33  public const FIELD_IS_DEFAULT = 'isDefault';
34  public const FIELD_PREDICATE = 'predicate';
35  public const FIELD_CUSTOM = 'custom';
36 
43  public function getId();
44 
51  public function getVersion();
52 
59  public function getCreatedAt();
60 
67  public function getLastModifiedAt();
68 
75  public function getLastModifiedBy();
76 
83  public function getCreatedBy();
84 
91  public function getKey();
92 
99  public function getName();
100 
107  public function getLocalizedName();
108 
115  public function getDescription();
116 
123  public function getLocalizedDescription();
124 
131  public function getTaxCategory();
132 
139  public function getZoneRates();
140 
148  public function getActive();
149 
156  public function getIsDefault();
157 
164  public function getPredicate();
165 
172  public function getCustom();
173 
177  public function setId(?string $id): void;
178 
182  public function setVersion(?int $version): void;
183 
187  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
188 
192  public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
193 
197  public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
198 
202  public function setCreatedBy(?CreatedBy $createdBy): void;
203 
207  public function setKey(?string $key): void;
208 
212  public function setName(?string $name): void;
213 
217  public function setLocalizedName(?LocalizedString $localizedName): void;
218 
222  public function setDescription(?string $description): void;
223 
227  public function setLocalizedDescription(?LocalizedString $localizedDescription): void;
228 
232  public function setTaxCategory(?TaxCategoryReference $taxCategory): void;
233 
237  public function setZoneRates(?ZoneRateCollection $zoneRates): void;
238 
242  public function setActive(?bool $active): void;
243 
247  public function setIsDefault(?bool $isDefault): void;
248 
252  public function setPredicate(?string $predicate): void;
253 
257  public function setCustom(?CustomFields $custom): void;
258 }
setLocalizedDescription(?LocalizedString $localizedDescription)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setTaxCategory(?TaxCategoryReference $taxCategory)
setLocalizedName(?LocalizedString $localizedName)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)