commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Store
Store.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Store
;
10
11
use
Commercetools\Api\Models\Channel\ChannelReferenceCollection
;
12
use
Commercetools\Api\Models\Common\BaseResource
;
13
use
Commercetools\Api\Models\Common\CreatedBy
;
14
use
Commercetools\Api\Models\Common\LastModifiedBy
;
15
use
Commercetools\Api\Models\Common\LocalizedString
;
16
use
Commercetools\Api\Models\StoreCountry\StoreCountryCollection
;
17
use
Commercetools\Api\Models\Type\CustomFields
;
18
use
Commercetools\Base\DateTimeImmutableCollection
;
19
use
Commercetools\Base\JsonObject
;
20
use DateTimeImmutable;
21
22
interface
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
}
Commercetools\Api\Models\Channel\ChannelReferenceCollection
Definition:
ChannelReferenceCollection.php:22
Commercetools\Api\Models\Store\ProductSelectionSettingCollection
Definition:
ProductSelectionSettingCollection.php:22
Commercetools\Api\Models\StoreCountry\StoreCountryCollection
Definition:
StoreCountryCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Store\Store
Definition:
Store.php:23
Commercetools\Api\Models\Store\Store\setId
setId(?string $id)
Commercetools\Api\Models\Store\Store\getVersion
getVersion()
Commercetools\Api\Models\Store\Store\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\Store\Store\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
Store.php:24
Commercetools\Api\Models\Store\Store\setCountries
setCountries(?StoreCountryCollection $countries)
Commercetools\Api\Models\Store\Store\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
Store.php:25
Commercetools\Api\Models\Store\Store\setKey
setKey(?string $key)
Commercetools\Api\Models\Store\Store\getProductSelections
getProductSelections()
Commercetools\Api\Models\Store\Store\getCustom
getCustom()
Commercetools\Api\Models\Store\Store\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\Store\Store\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Store\Store\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\Store\Store\FIELD_LANGUAGES
const FIELD_LANGUAGES
Definition:
Store.php:28
Commercetools\Api\Models\Store\Store\FIELD_DISTRIBUTION_CHANNELS
const FIELD_DISTRIBUTION_CHANNELS
Definition:
Store.php:30
Commercetools\Api\Models\Store\Store\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
Store.php:33
Commercetools\Api\Models\Store\Store\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\Store\Store\getSupplyChannels
getSupplyChannels()
Commercetools\Api\Models\Store\Store\setProductSelections
setProductSelections(?ProductSelectionSettingCollection $productSelections)
Commercetools\Api\Models\Store\Store\setSupplyChannels
setSupplyChannels(?ChannelReferenceCollection $supplyChannels)
Commercetools\Api\Models\Store\Store\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\Store\Store\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\Store\Store\getDistributionChannels
getDistributionChannels()
Commercetools\Api\Models\Store\Store\getKey
getKey()
Commercetools\Api\Models\Store\Store\FIELD_COUNTRIES
const FIELD_COUNTRIES
Definition:
Store.php:29
Commercetools\Api\Models\Store\Store\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\Store\Store\getId
getId()
Commercetools\Api\Models\Store\Store\setLanguages
setLanguages(?array $languages)
Commercetools\Api\Models\Store\Store\getCountries
getCountries()
Commercetools\Api\Models\Store\Store\setDistributionChannels
setDistributionChannels(?ChannelReferenceCollection $distributionChannels)
Commercetools\Api\Models\Store\Store\FIELD_KEY
const FIELD_KEY
Definition:
Store.php:26
Commercetools\Api\Models\Store\Store\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\Store\Store\getName
getName()
Commercetools\Api\Models\Store\Store\FIELD_PRODUCT_SELECTIONS
const FIELD_PRODUCT_SELECTIONS
Definition:
Store.php:32
Commercetools\Api\Models\Store\Store\getLanguages
getLanguages()
Commercetools\Api\Models\Store\Store\FIELD_SUPPLY_CHANNELS
const FIELD_SUPPLY_CHANNELS
Definition:
Store.php:31
Commercetools\Api\Models\Store\Store\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Store\Store\FIELD_NAME
const FIELD_NAME
Definition:
Store.php:27
Commercetools\Api\Models\Store\Store\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Store
Definition:
ProductSelectionSetting.php:9
Generated by
1.9.1