commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Channel.php
1 <?php
2 
3 declare(strict_types=1);
10 
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 }
setGeoLocation(?GeoJson $geoLocation)
setDescription(?LocalizedString $description)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setCreatedAt(?DateTimeImmutable $createdAt)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setReviewRatingStatistics(?ReviewRatingStatistics $reviewRatingStatistics)