commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Store
StoreDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Store
;
10
11
use
Commercetools\Api\Models\Channel\ChannelResourceIdentifierCollection
;
12
use
Commercetools\Api\Models\Common\LocalizedString
;
13
use
Commercetools\Api\Models\StoreCountry\StoreCountryCollection
;
14
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
15
use
Commercetools\Base\DateTimeImmutableCollection
;
16
use
Commercetools\Base\JsonObject
;
17
18
interface
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
}
Commercetools\Api\Models\Channel\ChannelResourceIdentifierCollection
Definition:
ChannelResourceIdentifierCollection.php:22
Commercetools\Api\Models\Store\ProductSelectionSettingDraftCollection
Definition:
ProductSelectionSettingDraftCollection.php:22
Commercetools\Api\Models\StoreCountry\StoreCountryCollection
Definition:
StoreCountryCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Store\StoreDraft
Definition:
StoreDraft.php:19
Commercetools\Api\Models\Store\StoreDraft\getLanguages
getLanguages()
Commercetools\Api\Models\Store\StoreDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
StoreDraft.php:27
Commercetools\Api\Models\Store\StoreDraft\FIELD_LANGUAGES
const FIELD_LANGUAGES
Definition:
StoreDraft.php:22
Commercetools\Api\Models\Store\StoreDraft\setProductSelections
setProductSelections(?ProductSelectionSettingDraftCollection $productSelections)
Commercetools\Api\Models\Store\StoreDraft\setCountries
setCountries(?StoreCountryCollection $countries)
Commercetools\Api\Models\Store\StoreDraft\FIELD_DISTRIBUTION_CHANNELS
const FIELD_DISTRIBUTION_CHANNELS
Definition:
StoreDraft.php:24
Commercetools\Api\Models\Store\StoreDraft\FIELD_PRODUCT_SELECTIONS
const FIELD_PRODUCT_SELECTIONS
Definition:
StoreDraft.php:26
Commercetools\Api\Models\Store\StoreDraft\setLanguages
setLanguages(?array $languages)
Commercetools\Api\Models\Store\StoreDraft\FIELD_KEY
const FIELD_KEY
Definition:
StoreDraft.php:20
Commercetools\Api\Models\Store\StoreDraft\FIELD_SUPPLY_CHANNELS
const FIELD_SUPPLY_CHANNELS
Definition:
StoreDraft.php:25
Commercetools\Api\Models\Store\StoreDraft\getCustom
getCustom()
Commercetools\Api\Models\Store\StoreDraft\FIELD_COUNTRIES
const FIELD_COUNTRIES
Definition:
StoreDraft.php:23
Commercetools\Api\Models\Store\StoreDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Store\StoreDraft\getProductSelections
getProductSelections()
Commercetools\Api\Models\Store\StoreDraft\FIELD_NAME
const FIELD_NAME
Definition:
StoreDraft.php:21
Commercetools\Api\Models\Store\StoreDraft\getSupplyChannels
getSupplyChannels()
Commercetools\Api\Models\Store\StoreDraft\getCountries
getCountries()
Commercetools\Api\Models\Store\StoreDraft\getKey
getKey()
Commercetools\Api\Models\Store\StoreDraft\getDistributionChannels
getDistributionChannels()
Commercetools\Api\Models\Store\StoreDraft\getName
getName()
Commercetools\Api\Models\Store\StoreDraft\setDistributionChannels
setDistributionChannels(?ChannelResourceIdentifierCollection $distributionChannels)
Commercetools\Api\Models\Store\StoreDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Store\StoreDraft\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Store\StoreDraft\setSupplyChannels
setSupplyChannels(?ChannelResourceIdentifierCollection $supplyChannels)
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Store
Definition:
ProductSelectionSetting.php:9
Generated by
1.9.1