commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
StoreCreatedMessagePayload.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Channel\ChannelReferenceCollection
;
12
use
Commercetools\Api\Models\Common\LocalizedString
;
13
use
Commercetools\Api\Models\Store\ProductSelectionSettingCollection
;
14
use
Commercetools\Api\Models\StoreCountry\StoreCountryCollection
;
15
use
Commercetools\Api\Models\Type\CustomFields
;
16
use
Commercetools\Base\DateTimeImmutableCollection
;
17
use
Commercetools\Base\JsonObject
;
18
19
interface
StoreCreatedMessagePayload
extends
MessagePayload
20
{
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
35
public
function
getName
();
36
43
public
function
getLanguages
();
44
51
public
function
getCountries
();
52
59
public
function
getDistributionChannels
();
60
67
public
function
getSupplyChannels
();
68
75
public
function
getProductSelections
();
76
83
public
function
getCustom
();
84
88
public
function
setName
(?
LocalizedString
$name): void;
89
93
public
function
setLanguages
(?array $languages): void;
94
98
public
function
setCountries
(?
StoreCountryCollection
$countries): void;
99
103
public
function
setDistributionChannels
(?
ChannelReferenceCollection
$distributionChannels): void;
104
108
public
function
setSupplyChannels
(?
ChannelReferenceCollection
$supplyChannels): void;
109
113
public
function
setProductSelections
(?
ProductSelectionSettingCollection
$productSelections): void;
114
118
public
function
setCustom
(?
CustomFields
$custom): void;
119
}
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\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Message\MessagePayload
Definition:
MessagePayload.php:15
Commercetools\Api\Models\Message\StoreCreatedMessagePayload
Definition:
StoreCreatedMessagePayload.php:20
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\FIELD_SUPPLY_CHANNELS
const FIELD_SUPPLY_CHANNELS
Definition:
StoreCreatedMessagePayload.php:25
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\FIELD_COUNTRIES
const FIELD_COUNTRIES
Definition:
StoreCreatedMessagePayload.php:23
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\setLanguages
setLanguages(?array $languages)
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\getProductSelections
getProductSelections()
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\FIELD_PRODUCT_SELECTIONS
const FIELD_PRODUCT_SELECTIONS
Definition:
StoreCreatedMessagePayload.php:26
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\getDistributionChannels
getDistributionChannels()
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\setCountries
setCountries(?StoreCountryCollection $countries)
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\getCustom
getCustom()
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\FIELD_LANGUAGES
const FIELD_LANGUAGES
Definition:
StoreCreatedMessagePayload.php:22
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
StoreCreatedMessagePayload.php:27
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\FIELD_DISTRIBUTION_CHANNELS
const FIELD_DISTRIBUTION_CHANNELS
Definition:
StoreCreatedMessagePayload.php:24
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\getCountries
getCountries()
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\setDistributionChannels
setDistributionChannels(?ChannelReferenceCollection $distributionChannels)
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\getLanguages
getLanguages()
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\FIELD_NAME
const FIELD_NAME
Definition:
StoreCreatedMessagePayload.php:21
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\getName
getName()
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\getSupplyChannels
getSupplyChannels()
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\setProductSelections
setProductSelections(?ProductSelectionSettingCollection $productSelections)
Commercetools\Api\Models\Message\StoreCreatedMessagePayload\setSupplyChannels
setSupplyChannels(?ChannelReferenceCollection $supplyChannels)
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1