commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Review.php
1 <?php
2 
3 declare(strict_types=1);
10 
21 use DateTimeImmutable;
22 
23 interface Review 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_UNIQUENESS_VALUE = 'uniquenessValue';
29  public const FIELD_LOCALE = 'locale';
30  public const FIELD_AUTHOR_NAME = 'authorName';
31  public const FIELD_TITLE = 'title';
32  public const FIELD_TEXT = 'text';
33  public const FIELD_TARGET = 'target';
34  public const FIELD_INCLUDED_IN_STATISTICS = 'includedInStatistics';
35  public const FIELD_RATING = 'rating';
36  public const FIELD_STATE = 'state';
37  public const FIELD_CUSTOMER = 'customer';
38  public const FIELD_CUSTOM = 'custom';
39 
46  public function getId();
47 
54  public function getVersion();
55 
62  public function getCreatedAt();
63 
70  public function getLastModifiedAt();
71 
78  public function getLastModifiedBy();
79 
86  public function getCreatedBy();
87 
94  public function getKey();
95 
102  public function getUniquenessValue();
103 
110  public function getLocale();
111 
118  public function getAuthorName();
119 
126  public function getTitle();
127 
134  public function getText();
135 
142  public function getTarget();
143 
152  public function getIncludedInStatistics();
153 
160  public function getRating();
161 
168  public function getState();
169 
176  public function getCustomer();
177 
184  public function getCustom();
185 
189  public function setId(?string $id): void;
190 
194  public function setVersion(?int $version): void;
195 
199  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
200 
204  public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
205 
209  public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
210 
214  public function setCreatedBy(?CreatedBy $createdBy): void;
215 
219  public function setKey(?string $key): void;
220 
224  public function setUniquenessValue(?string $uniquenessValue): void;
225 
229  public function setLocale(?string $locale): void;
230 
234  public function setAuthorName(?string $authorName): void;
235 
239  public function setTitle(?string $title): void;
240 
244  public function setText(?string $text): void;
245 
249  public function setTarget(?JsonObject $target): void;
250 
254  public function setIncludedInStatistics(?bool $includedInStatistics): void;
255 
259  public function setRating(?int $rating): void;
260 
264  public function setState(?StateReference $state): void;
265 
269  public function setCustomer(?CustomerReference $customer): void;
270 
274  public function setCustom(?CustomFields $custom): void;
275 }
setState(?StateReference $state)
setIncludedInStatistics(?bool $includedInStatistics)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setCreatedBy(?CreatedBy $createdBy)
setCustomer(?CustomerReference $customer)
setCustom(?CustomFields $custom)
setCreatedAt(?DateTimeImmutable $createdAt)
setUniquenessValue(?string $uniquenessValue)