commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Channel
Channel.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Channel
;
10
11
use
Commercetools\Api\Models\Common\Address
;
12
use
Commercetools\Api\Models\Common\BaseResource
;
13
use
Commercetools\Api\Models\Common\CreatedBy
;
14
use
Commercetools\Api\Models\Common\GeoJson
;
15
use
Commercetools\Api\Models\Common\LastModifiedBy
;
16
use
Commercetools\Api\Models\Common\LocalizedString
;
17
use
Commercetools\Api\Models\Review\ReviewRatingStatistics
;
18
use
Commercetools\Api\Models\Type\CustomFields
;
19
use
Commercetools\Base\DateTimeImmutableCollection
;
20
use
Commercetools\Base\JsonObject
;
21
use DateTimeImmutable;
22
23
interface
Channel
extends
BaseResource
24
{
25
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
26
public
const
FIELD_CREATED_BY
=
'createdBy'
;
27
public
const
FIELD_KEY
=
'key'
;
28
public
const
FIELD_ROLES
=
'roles'
;
29
public
const
FIELD_NAME
=
'name'
;
30
public
const
FIELD_DESCRIPTION
=
'description'
;
31
public
const
FIELD_ADDRESS
=
'address'
;
32
public
const
FIELD_REVIEW_RATING_STATISTICS
=
'reviewRatingStatistics'
;
33
public
const
FIELD_CUSTOM
=
'custom'
;
34
public
const
FIELD_GEO_LOCATION
=
'geoLocation'
;
35
42
public
function
getId
();
43
50
public
function
getVersion
();
51
58
public
function
getCreatedAt
();
59
66
public
function
getLastModifiedAt
();
67
74
public
function
getLastModifiedBy
();
75
82
public
function
getCreatedBy
();
83
90
public
function
getKey
();
91
98
public
function
getRoles
();
99
106
public
function
getName
();
107
114
public
function
getDescription
();
115
122
public
function
getAddress
();
123
130
public
function
getReviewRatingStatistics
();
131
138
public
function
getCustom
();
139
146
public
function
getGeoLocation
();
147
151
public
function
setId
(?
string
$id): void;
152
156
public
function
setVersion
(?
int
$version): void;
157
161
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
162
166
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
167
171
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
172
176
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
177
181
public
function
setKey
(?
string
$key): void;
182
186
public
function
setRoles
(?array $roles): void;
187
191
public
function
setName
(?
LocalizedString
$name): void;
192
196
public
function
setDescription
(?
LocalizedString
$description): void;
197
201
public
function
setAddress
(?
Address
$address): void;
202
206
public
function
setReviewRatingStatistics
(?
ReviewRatingStatistics
$reviewRatingStatistics): void;
207
211
public
function
setCustom
(?
CustomFields
$custom): void;
212
216
public
function
setGeoLocation
(?
GeoJson
$geoLocation): void;
217
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Channel\Channel
Definition:
Channel.php:24
Commercetools\Api\Models\Channel\Channel\FIELD_KEY
const FIELD_KEY
Definition:
Channel.php:27
Commercetools\Api\Models\Channel\Channel\setAddress
setAddress(?Address $address)
Commercetools\Api\Models\Channel\Channel\getRoles
getRoles()
Commercetools\Api\Models\Channel\Channel\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
Channel.php:26
Commercetools\Api\Models\Channel\Channel\getAddress
getAddress()
Commercetools\Api\Models\Channel\Channel\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Channel\Channel\getCustom
getCustom()
Commercetools\Api\Models\Channel\Channel\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Channel\Channel\setGeoLocation
setGeoLocation(?GeoJson $geoLocation)
Commercetools\Api\Models\Channel\Channel\getKey
getKey()
Commercetools\Api\Models\Channel\Channel\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\Channel\Channel\FIELD_ROLES
const FIELD_ROLES
Definition:
Channel.php:28
Commercetools\Api\Models\Channel\Channel\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\Channel\Channel\getDescription
getDescription()
Commercetools\Api\Models\Channel\Channel\setDescription
setDescription(?LocalizedString $description)
Commercetools\Api\Models\Channel\Channel\setKey
setKey(?string $key)
Commercetools\Api\Models\Channel\Channel\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\Channel\Channel\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Channel\Channel\FIELD_ADDRESS
const FIELD_ADDRESS
Definition:
Channel.php:31
Commercetools\Api\Models\Channel\Channel\getName
getName()
Commercetools\Api\Models\Channel\Channel\getId
getId()
Commercetools\Api\Models\Channel\Channel\getReviewRatingStatistics
getReviewRatingStatistics()
Commercetools\Api\Models\Channel\Channel\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\Channel\Channel\setId
setId(?string $id)
Commercetools\Api\Models\Channel\Channel\getGeoLocation
getGeoLocation()
Commercetools\Api\Models\Channel\Channel\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\Channel\Channel\setRoles
setRoles(?array $roles)
Commercetools\Api\Models\Channel\Channel\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\Channel\Channel\getVersion
getVersion()
Commercetools\Api\Models\Channel\Channel\FIELD_GEO_LOCATION
const FIELD_GEO_LOCATION
Definition:
Channel.php:34
Commercetools\Api\Models\Channel\Channel\FIELD_REVIEW_RATING_STATISTICS
const FIELD_REVIEW_RATING_STATISTICS
Definition:
Channel.php:32
Commercetools\Api\Models\Channel\Channel\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\Channel\Channel\setReviewRatingStatistics
setReviewRatingStatistics(?ReviewRatingStatistics $reviewRatingStatistics)
Commercetools\Api\Models\Channel\Channel\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
Channel.php:25
Commercetools\Api\Models\Channel\Channel\FIELD_NAME
const FIELD_NAME
Definition:
Channel.php:29
Commercetools\Api\Models\Channel\Channel\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\Channel\Channel\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
Channel.php:33
Commercetools\Api\Models\Channel\Channel\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
Channel.php:30
Commercetools\Api\Models\Common\Address
Definition:
Address.php:16
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\GeoJson
Definition:
GeoJson.php:15
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Review\ReviewRatingStatistics
Definition:
ReviewRatingStatistics.php:15
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Channel
Definition:
Channel.php:9
Generated by
1.9.1