commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
Record.php
1<?php
2
3declare(strict_types=1);
10
18
19interface Record extends JsonObject
20{
21
22 public const FIELD_VERSION = 'version';
23 public const FIELD_PREVIOUS_VERSION = 'previousVersion';
24 public const FIELD_TYPE = 'type';
25 public const FIELD_MODIFIED_BY = 'modifiedBy';
26 public const FIELD_MODIFIED_AT = 'modifiedAt';
27 public const FIELD_LABEL = 'label';
28 public const FIELD_PREVIOUS_LABEL = 'previousLabel';
29 public const FIELD_CHANGES = 'changes';
30 public const FIELD_RESOURCE = 'resource';
31 public const FIELD_STORES = 'stores';
32 public const FIELD_BUSINESS_UNIT = 'businessUnit';
33 public const FIELD_WITHOUT_CHANGES = 'withoutChanges';
34
42 public function getVersion();
43
50 public function getPreviousVersion();
51
59 public function getType();
60
67 public function getModifiedBy();
68
75 public function getModifiedAt();
76
83 public function getLabel();
84
91 public function getPreviousLabel();
92
100 public function getChanges();
101
108 public function getResource();
109
116 public function getStores();
117
124 public function getBusinessUnit();
125
133 public function getWithoutChanges();
134
138 public function setVersion(?int $version): void;
139
143 public function setPreviousVersion(?int $previousVersion): void;
144
148 public function setType(?string $type): void;
149
153 public function setModifiedBy(?ModifiedBy $modifiedBy): void;
154
158 public function setModifiedAt(?string $modifiedAt): void;
159
163 public function setLabel(?Label $label): void;
164
168 public function setPreviousLabel(?Label $previousLabel): void;
169
173 public function setChanges(?ChangeCollection $changes): void;
174
178 public function setResource(?ResourceIdentifier $resource): void;
179
183 public function setStores(?KeyReferenceCollection $stores): void;
184
188 public function setBusinessUnit(?KeyReference $businessUnit): void;
189
193 public function setWithoutChanges(?bool $withoutChanges): void;
194}
setResource(?ResourceIdentifier $resource)
setStores(?KeyReferenceCollection $stores)
setBusinessUnit(?KeyReference $businessUnit)