commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
|
Public Member Functions | |
getKey () | |
getName () | |
getLanguages () | |
getCountries () | |
getDistributionChannels () | |
getSupplyChannels () | |
getProductSelections () | |
getCustom () | |
setKey (?string $key) | |
setName (?LocalizedString $name) | |
setLanguages (?array $languages) | |
setCountries (?StoreCountryCollection $countries) | |
setDistributionChannels (?ChannelResourceIdentifierCollection $distributionChannels) | |
setSupplyChannels (?ChannelResourceIdentifierCollection $supplyChannels) | |
setProductSelections (?ProductSelectionSettingDraftCollection $productSelections) | |
setCustom (?CustomFieldsDraft $custom) | |
Public Member Functions inherited from Commercetools\Base\JsonObject | |
get (string $field) | |
with (callable $callable=null) | |
Public Attributes | |
const | FIELD_KEY = 'key' |
const | FIELD_NAME = 'name' |
const | FIELD_LANGUAGES = 'languages' |
const | FIELD_COUNTRIES = 'countries' |
const | FIELD_DISTRIBUTION_CHANNELS = 'distributionChannels' |
const | FIELD_SUPPLY_CHANNELS = 'supplyChannels' |
const | FIELD_PRODUCT_SELECTIONS = 'productSelections' |
const | FIELD_CUSTOM = 'custom' |
Additional Inherited Members | |
Static Public Member Functions inherited from Commercetools\Base\JsonObject | |
static | of ($data=null) |
static | fromArray (array $data=[]) |
static | fromStdClass (stdClass $data=null) |
Definition at line 18 of file StoreDraft.php.
Commercetools\Api\Models\Store\StoreDraft::getCountries | ( | ) |
Countries defined for the Store.
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::getCustom | ( | ) |
Custom fields for the Store.
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::getDistributionChannels | ( | ) |
ResourceIdentifier of a Channel with ProductDistribution
ChannelRoleEnum.
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::getKey | ( | ) |
User-defined unique and immutable identifier for the Store. Keys can only contain alphanumeric characters, underscores, and hyphens.
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::getLanguages | ( | ) |
Languages defined in Project. Only languages defined in the Project can be used.
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::getName | ( | ) |
Name of the Store.
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::getProductSelections | ( | ) |
Controls availability of Products for this Store via active/inactive Product Selections:
inactive
Product Selections with IndividualExclusion
ProductSelectionMode are provided, all the Products are available in this Store. inactive
and there's at least a Product Selection of mode Individual
, no Product is available in this Store. active
Product Selection is provided, only active
Product Selections are considered to compute the availability in this Store. Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::getSupplyChannels | ( | ) |
ResourceIdentifier of a Channel with InventorySupply
ChannelRoleEnum.
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setCountries | ( | ?StoreCountryCollection | $countries | ) |
?StoreCountryCollection | $countries |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setCustom | ( | ?CustomFieldsDraft | $custom | ) |
?CustomFieldsDraft | $custom |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setDistributionChannels | ( | ?ChannelResourceIdentifierCollection | $distributionChannels | ) |
?ChannelResourceIdentifierCollection | $distributionChannels |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setKey | ( | ?string | $key | ) |
?string | $key |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setLanguages | ( | ?array | $languages | ) |
?array | $languages |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setName | ( | ?LocalizedString | $name | ) |
?LocalizedString | $name |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setProductSelections | ( | ?ProductSelectionSettingDraftCollection | $productSelections | ) |
?ProductSelectionSettingDraftCollection | $productSelections |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
Commercetools\Api\Models\Store\StoreDraft::setSupplyChannels | ( | ?ChannelResourceIdentifierCollection | $supplyChannels | ) |
?ChannelResourceIdentifierCollection | $supplyChannels |
Implemented in Commercetools\Api\Models\Store\StoreDraftModel.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_COUNTRIES = 'countries' |
Definition at line 23 of file StoreDraft.php.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_CUSTOM = 'custom' |
Definition at line 27 of file StoreDraft.php.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_DISTRIBUTION_CHANNELS = 'distributionChannels' |
Definition at line 24 of file StoreDraft.php.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_KEY = 'key' |
Definition at line 20 of file StoreDraft.php.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_LANGUAGES = 'languages' |
Definition at line 22 of file StoreDraft.php.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_NAME = 'name' |
Definition at line 21 of file StoreDraft.php.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_PRODUCT_SELECTIONS = 'productSelections' |
Definition at line 26 of file StoreDraft.php.
const Commercetools\Api\Models\Store\StoreDraft::FIELD_SUPPLY_CHANNELS = 'supplyChannels' |
Definition at line 25 of file StoreDraft.php.