commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
StoreDraft.php
1<?php
2
3declare(strict_types=1);
10
17
18interface StoreDraft extends JsonObject
19{
20 public const FIELD_KEY = 'key';
21 public const FIELD_NAME = 'name';
22 public const FIELD_LANGUAGES = 'languages';
23 public const FIELD_COUNTRIES = 'countries';
24 public const FIELD_DISTRIBUTION_CHANNELS = 'distributionChannels';
25 public const FIELD_SUPPLY_CHANNELS = 'supplyChannels';
26 public const FIELD_PRODUCT_SELECTIONS = 'productSelections';
27 public const FIELD_CUSTOM = 'custom';
28
36 public function getKey();
37
44 public function getName();
45
52 public function getLanguages();
53
60 public function getCountries();
61
68 public function getDistributionChannels();
69
76 public function getSupplyChannels();
77
90 public function getProductSelections();
91
98 public function getCustom();
99
103 public function setKey(?string $key): void;
104
108 public function setName(?LocalizedString $name): void;
109
113 public function setLanguages(?array $languages): void;
114
118 public function setCountries(?StoreCountryCollection $countries): void;
119
123 public function setDistributionChannels(?ChannelResourceIdentifierCollection $distributionChannels): void;
124
128 public function setSupplyChannels(?ChannelResourceIdentifierCollection $supplyChannels): void;
129
133 public function setProductSelections(?ProductSelectionSettingDraftCollection $productSelections): void;
134
138 public function setCustom(?CustomFieldsDraft $custom): void;
139}
setProductSelections(?ProductSelectionSettingDraftCollection $productSelections)
setCountries(?StoreCountryCollection $countries)
setDistributionChannels(?ChannelResourceIdentifierCollection $distributionChannels)
setCustom(?CustomFieldsDraft $custom)
setSupplyChannels(?ChannelResourceIdentifierCollection $supplyChannels)