commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
|
Public Member Functions | |
getKey () | |
getRoles () | |
getName () | |
getDescription () | |
getAddress () | |
getCustom () | |
getGeoLocation () | |
setKey (?string $key) | |
setRoles (?array $roles) | |
setName (?LocalizedString $name) | |
setDescription (?LocalizedString $description) | |
setAddress (?BaseAddress $address) | |
setCustom (?CustomFieldsDraft $custom) | |
setGeoLocation (?GeoJson $geoLocation) | |
Public Member Functions inherited from Commercetools\Base\JsonObject | |
get (string $field) | |
with (callable $callable=null) | |
Public Attributes | |
const | FIELD_KEY = 'key' |
const | FIELD_ROLES = 'roles' |
const | FIELD_NAME = 'name' |
const | FIELD_DESCRIPTION = 'description' |
const | FIELD_ADDRESS = 'address' |
const | FIELD_CUSTOM = 'custom' |
const | FIELD_GEO_LOCATION = 'geoLocation' |
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 ChannelDraft.php.
Commercetools\Api\Models\Channel\ChannelDraft::getAddress | ( | ) |
Address where the Channel is located.
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::getCustom | ( | ) |
Custom fields defined for the Channel.
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::getDescription | ( | ) |
Description of the Channel.
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::getGeoLocation | ( | ) |
GeoJSON geometry object encoding the geo location of the Channel. Currently, only the Point type is supported.
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::getKey | ( | ) |
User-defined unique identifier for the Channel.
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::getName | ( | ) |
Name of the Channel.
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::getRoles | ( | ) |
Roles of the Channel. Each channel must have at least one role. If not specified, then InventorySupply
is assigned by default.
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::setAddress | ( | ?BaseAddress | $address | ) |
?BaseAddress | $address |
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::setCustom | ( | ?CustomFieldsDraft | $custom | ) |
?CustomFieldsDraft | $custom |
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::setDescription | ( | ?LocalizedString | $description | ) |
?LocalizedString | $description |
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::setGeoLocation | ( | ?GeoJson | $geoLocation | ) |
?GeoJson | $geoLocation |
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::setKey | ( | ?string | $key | ) |
?string | $key |
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::setName | ( | ?LocalizedString | $name | ) |
?LocalizedString | $name |
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
Commercetools\Api\Models\Channel\ChannelDraft::setRoles | ( | ?array | $roles | ) |
?array | $roles |
Implemented in Commercetools\Api\Models\Channel\ChannelDraftModel.
const Commercetools\Api\Models\Channel\ChannelDraft::FIELD_ADDRESS = 'address' |
Definition at line 24 of file ChannelDraft.php.
const Commercetools\Api\Models\Channel\ChannelDraft::FIELD_CUSTOM = 'custom' |
Definition at line 25 of file ChannelDraft.php.
const Commercetools\Api\Models\Channel\ChannelDraft::FIELD_DESCRIPTION = 'description' |
Definition at line 23 of file ChannelDraft.php.
const Commercetools\Api\Models\Channel\ChannelDraft::FIELD_GEO_LOCATION = 'geoLocation' |
Definition at line 26 of file ChannelDraft.php.
const Commercetools\Api\Models\Channel\ChannelDraft::FIELD_KEY = 'key' |
Definition at line 20 of file ChannelDraft.php.
const Commercetools\Api\Models\Channel\ChannelDraft::FIELD_NAME = 'name' |
Definition at line 22 of file ChannelDraft.php.
const Commercetools\Api\Models\Channel\ChannelDraft::FIELD_ROLES = 'roles' |
Definition at line 21 of file ChannelDraft.php.