commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
StandalonePrice.php
1 <?php
2 
3 declare(strict_types=1);
10 
22 use DateTimeImmutable;
23 
24 interface StandalonePrice extends BaseResource
25 {
26  public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
27  public const FIELD_CREATED_BY = 'createdBy';
28  public const FIELD_KEY = 'key';
29  public const FIELD_SKU = 'sku';
30  public const FIELD_VALUE = 'value';
31  public const FIELD_COUNTRY = 'country';
32  public const FIELD_CUSTOMER_GROUP = 'customerGroup';
33  public const FIELD_CHANNEL = 'channel';
34  public const FIELD_VALID_FROM = 'validFrom';
35  public const FIELD_VALID_UNTIL = 'validUntil';
36  public const FIELD_TIERS = 'tiers';
37  public const FIELD_DISCOUNTED = 'discounted';
38  public const FIELD_CUSTOM = 'custom';
39  public const FIELD_STAGED = 'staged';
40  public const FIELD_ACTIVE = 'active';
41 
48  public function getId();
49 
56  public function getVersion();
57 
64  public function getCreatedAt();
65 
72  public function getLastModifiedAt();
73 
80  public function getLastModifiedBy();
81 
88  public function getCreatedBy();
89 
96  public function getKey();
97 
104  public function getSku();
105 
112  public function getValue();
113 
120  public function getCountry();
121 
128  public function getCustomerGroup();
129 
136  public function getChannel();
137 
144  public function getValidFrom();
145 
152  public function getValidUntil();
153 
161  public function getTiers();
162 
170  public function getDiscounted();
171 
178  public function getCustom();
179 
186  public function getStaged();
187 
195  public function getActive();
196 
200  public function setId(?string $id): void;
201 
205  public function setVersion(?int $version): void;
206 
210  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
211 
215  public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
216 
220  public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
221 
225  public function setCreatedBy(?CreatedBy $createdBy): void;
226 
230  public function setKey(?string $key): void;
231 
235  public function setSku(?string $sku): void;
236 
240  public function setValue(?TypedMoney $value): void;
241 
245  public function setCountry(?string $country): void;
246 
250  public function setCustomerGroup(?CustomerGroupReference $customerGroup): void;
251 
255  public function setChannel(?ChannelReference $channel): void;
256 
260  public function setValidFrom(?DateTimeImmutable $validFrom): void;
261 
265  public function setValidUntil(?DateTimeImmutable $validUntil): void;
266 
270  public function setTiers(?PriceTierCollection $tiers): void;
271 
275  public function setDiscounted(?DiscountedPrice $discounted): void;
276 
280  public function setCustom(?CustomFields $custom): void;
281 
285  public function setStaged(?StagedStandalonePrice $staged): void;
286 
290  public function setActive(?bool $active): void;
291 }
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setCustomerGroup(?CustomerGroupReference $customerGroup)