commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Channel
ChannelDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Channel
;
10
11
use
Commercetools\Api\Models\Common\BaseAddress
;
12
use
Commercetools\Api\Models\Common\GeoJson
;
13
use
Commercetools\Api\Models\Common\LocalizedString
;
14
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
15
use
Commercetools\Base\DateTimeImmutableCollection
;
16
use
Commercetools\Base\JsonObject
;
17
18
interface
ChannelDraft
extends
JsonObject
19
{
20
public
const
FIELD_KEY
=
'key'
;
21
public
const
FIELD_ROLES
=
'roles'
;
22
public
const
FIELD_NAME
=
'name'
;
23
public
const
FIELD_DESCRIPTION
=
'description'
;
24
public
const
FIELD_ADDRESS
=
'address'
;
25
public
const
FIELD_CUSTOM
=
'custom'
;
26
public
const
FIELD_GEO_LOCATION
=
'geoLocation'
;
27
34
public
function
getKey
();
35
44
public
function
getRoles
();
45
52
public
function
getName
();
53
60
public
function
getDescription
();
61
68
public
function
getAddress
();
69
76
public
function
getCustom
();
77
85
public
function
getGeoLocation
();
86
90
public
function
setKey
(?
string
$key): void;
91
95
public
function
setRoles
(?array $roles): void;
96
100
public
function
setName
(?
LocalizedString
$name): void;
101
105
public
function
setDescription
(?
LocalizedString
$description): void;
106
110
public
function
setAddress
(?
BaseAddress
$address): void;
111
115
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
116
120
public
function
setGeoLocation
(?
GeoJson
$geoLocation): void;
121
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Channel\ChannelDraft
Definition:
ChannelDraft.php:19
Commercetools\Api\Models\Channel\ChannelDraft\setRoles
setRoles(?array $roles)
Commercetools\Api\Models\Channel\ChannelDraft\FIELD_ADDRESS
const FIELD_ADDRESS
Definition:
ChannelDraft.php:24
Commercetools\Api\Models\Channel\ChannelDraft\FIELD_KEY
const FIELD_KEY
Definition:
ChannelDraft.php:20
Commercetools\Api\Models\Channel\ChannelDraft\FIELD_GEO_LOCATION
const FIELD_GEO_LOCATION
Definition:
ChannelDraft.php:26
Commercetools\Api\Models\Channel\ChannelDraft\setGeoLocation
setGeoLocation(?GeoJson $geoLocation)
Commercetools\Api\Models\Channel\ChannelDraft\getGeoLocation
getGeoLocation()
Commercetools\Api\Models\Channel\ChannelDraft\getDescription
getDescription()
Commercetools\Api\Models\Channel\ChannelDraft\setAddress
setAddress(?BaseAddress $address)
Commercetools\Api\Models\Channel\ChannelDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Channel\ChannelDraft\getCustom
getCustom()
Commercetools\Api\Models\Channel\ChannelDraft\getKey
getKey()
Commercetools\Api\Models\Channel\ChannelDraft\FIELD_NAME
const FIELD_NAME
Definition:
ChannelDraft.php:22
Commercetools\Api\Models\Channel\ChannelDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Channel\ChannelDraft\FIELD_ROLES
const FIELD_ROLES
Definition:
ChannelDraft.php:21
Commercetools\Api\Models\Channel\ChannelDraft\getAddress
getAddress()
Commercetools\Api\Models\Channel\ChannelDraft\getRoles
getRoles()
Commercetools\Api\Models\Channel\ChannelDraft\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Channel\ChannelDraft\getName
getName()
Commercetools\Api\Models\Channel\ChannelDraft\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
ChannelDraft.php:23
Commercetools\Api\Models\Channel\ChannelDraft\setDescription
setDescription(?LocalizedString $description)
Commercetools\Api\Models\Channel\ChannelDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
ChannelDraft.php:25
Commercetools\Api\Models\Common\BaseAddress
Definition:
BaseAddress.php:15
Commercetools\Api\Models\Common\GeoJson
Definition:
GeoJson.php:15
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Channel
Definition:
Channel.php:9
Generated by
1.9.1