commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ProductTailoring.php
1<?php
2
3declare(strict_types=1);
10
19use DateTimeImmutable;
20
22{
23 public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
24 public const FIELD_CREATED_BY = 'createdBy';
25 public const FIELD_KEY = 'key';
26 public const FIELD_STORE = 'store';
27 public const FIELD_PRODUCT = 'product';
28 public const FIELD_PUBLISHED = 'published';
29 public const FIELD_CURRENT = 'current';
30 public const FIELD_STAGED = 'staged';
31 public const FIELD_HAS_STAGED_CHANGES = 'hasStagedChanges';
32 public const FIELD_WARNINGS = 'warnings';
33
40 public function getId();
41
48 public function getVersion();
49
56 public function getCreatedAt();
57
64 public function getLastModifiedAt();
65
72 public function getLastModifiedBy();
73
80 public function getCreatedBy();
81
88 public function getKey();
89
96 public function getStore();
97
104 public function getProduct();
105
112 public function getPublished();
113
120 public function getCurrent();
121
128 public function getStaged();
129
136 public function getHasStagedChanges();
137
145 public function getWarnings();
146
150 public function setId(?string $id): void;
151
155 public function setVersion(?int $version): void;
156
160 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
161
165 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
166
170 public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
171
175 public function setCreatedBy(?CreatedBy $createdBy): void;
176
180 public function setKey(?string $key): void;
181
185 public function setStore(?StoreKeyReference $store): void;
186
190 public function setProduct(?ProductReference $product): void;
191
195 public function setPublished(?bool $published): void;
196
200 public function setCurrent(?ProductTailoringData $current): void;
201
205 public function setStaged(?ProductTailoringData $staged): void;
206
210 public function setHasStagedChanges(?bool $hasStagedChanges): void;
211
215 public function setWarnings(?WarningObjectCollection $warnings): void;
216}
setWarnings(?WarningObjectCollection $warnings)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)