commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
InventoryEntry.php
1<?php
2
3declare(strict_types=1);
10
18use DateTimeImmutable;
19
21{
22 public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
23 public const FIELD_CREATED_BY = 'createdBy';
24 public const FIELD_KEY = 'key';
25 public const FIELD_SKU = 'sku';
26 public const FIELD_SUPPLY_CHANNEL = 'supplyChannel';
27 public const FIELD_QUANTITY_ON_STOCK = 'quantityOnStock';
28 public const FIELD_AVAILABLE_QUANTITY = 'availableQuantity';
29 public const FIELD_RESTOCKABLE_IN_DAYS = 'restockableInDays';
30 public const FIELD_EXPECTED_DELIVERY = 'expectedDelivery';
31 public const FIELD_CUSTOM = 'custom';
32
39 public function getId();
40
47 public function getVersion();
48
55 public function getCreatedAt();
56
63 public function getLastModifiedAt();
64
71 public function getLastModifiedBy();
72
79 public function getCreatedBy();
80
87 public function getKey();
88
95 public function getSku();
96
103 public function getSupplyChannel();
104
111 public function getQuantityOnStock();
112
119 public function getAvailableQuantity();
120
127 public function getRestockableInDays();
128
135 public function getExpectedDelivery();
136
143 public function getCustom();
144
148 public function setId(?string $id): void;
149
153 public function setVersion(?int $version): void;
154
158 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
159
163 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
164
168 public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
169
173 public function setCreatedBy(?CreatedBy $createdBy): void;
174
178 public function setKey(?string $key): void;
179
183 public function setSku(?string $sku): void;
184
188 public function setSupplyChannel(?ChannelReference $supplyChannel): void;
189
193 public function setQuantityOnStock(?int $quantityOnStock): void;
194
198 public function setAvailableQuantity(?int $availableQuantity): void;
199
203 public function setRestockableInDays(?int $restockableInDays): void;
204
208 public function setExpectedDelivery(?DateTimeImmutable $expectedDelivery): void;
209
213 public function setCustom(?CustomFields $custom): void;
214}
getCreatedBy()
getSku()
const FIELD_SKU
setCreatedAt(?DateTimeImmutable $createdAt)
getLastModifiedAt()
const FIELD_AVAILABLE_QUANTITY
getVersion()
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
getCreatedAt()
setExpectedDelivery(?DateTimeImmutable $expectedDelivery)
setQuantityOnStock(?int $quantityOnStock)
setAvailableQuantity(?int $availableQuantity)
setId(?string $id)
getKey()
setSku(?string $sku)
const FIELD_CUSTOM
setCreatedBy(?CreatedBy $createdBy)
getQuantityOnStock()
setKey(?string $key)
setCustom(?CustomFields $custom)
setSupplyChannel(?ChannelReference $supplyChannel)
getSupplyChannel()
const FIELD_LAST_MODIFIED_BY
const FIELD_RESTOCKABLE_IN_DAYS
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
const FIELD_KEY
const FIELD_CREATED_BY
setVersion(?int $version)
const FIELD_SUPPLY_CHANNEL
getId()
const FIELD_EXPECTED_DELIVERY
getLastModifiedBy()
setRestockableInDays(?int $restockableInDays)
getExpectedDelivery()
getAvailableQuantity()
getRestockableInDays()
getCustom()
const FIELD_QUANTITY_ON_STOCK