commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
Store.php
1<?php
2
3declare(strict_types=1);
10
20use DateTimeImmutable;
21
22interface Store extends BaseResource
23{
24 public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
25 public const FIELD_CREATED_BY = 'createdBy';
26 public const FIELD_KEY = 'key';
27 public const FIELD_NAME = 'name';
28 public const FIELD_LANGUAGES = 'languages';
29 public const FIELD_COUNTRIES = 'countries';
30 public const FIELD_DISTRIBUTION_CHANNELS = 'distributionChannels';
31 public const FIELD_SUPPLY_CHANNELS = 'supplyChannels';
32 public const FIELD_PRODUCT_SELECTIONS = 'productSelections';
33 public const FIELD_CUSTOM = 'custom';
34
41 public function getId();
42
49 public function getVersion();
50
57 public function getCreatedAt();
58
65 public function getLastModifiedAt();
66
73 public function getLastModifiedBy();
74
81 public function getCreatedBy();
82
89 public function getKey();
90
97 public function getName();
98
105 public function getLanguages();
106
113 public function getCountries();
114
121 public function getDistributionChannels();
122
129 public function getSupplyChannels();
130
143 public function getProductSelections();
144
151 public function getCustom();
152
156 public function setId(?string $id): void;
157
161 public function setVersion(?int $version): void;
162
166 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
167
171 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
172
176 public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
177
181 public function setCreatedBy(?CreatedBy $createdBy): void;
182
186 public function setKey(?string $key): void;
187
191 public function setName(?LocalizedString $name): void;
192
196 public function setLanguages(?array $languages): void;
197
201 public function setCountries(?StoreCountryCollection $countries): void;
202
206 public function setDistributionChannels(?ChannelReferenceCollection $distributionChannels): void;
207
211 public function setSupplyChannels(?ChannelReferenceCollection $supplyChannels): void;
212
216 public function setProductSelections(?ProductSelectionSettingCollection $productSelections): void;
217
221 public function setCustom(?CustomFields $custom): void;
222}
setCountries(?StoreCountryCollection $countries)
setCustom(?CustomFields $custom)
setCreatedBy(?CreatedBy $createdBy)
setProductSelections(?ProductSelectionSettingCollection $productSelections)
setSupplyChannels(?ChannelReferenceCollection $supplyChannels)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setDistributionChannels(?ChannelReferenceCollection $distributionChannels)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setCreatedAt(?DateTimeImmutable $createdAt)
setName(?LocalizedString $name)