commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
InventoryEntryDraft.php
1<?php
2
3declare(strict_types=1);
10
15use DateTimeImmutable;
16
18{
19 public const FIELD_SKU = 'sku';
20 public const FIELD_KEY = 'key';
21 public const FIELD_SUPPLY_CHANNEL = 'supplyChannel';
22 public const FIELD_QUANTITY_ON_STOCK = 'quantityOnStock';
23 public const FIELD_RESTOCKABLE_IN_DAYS = 'restockableInDays';
24 public const FIELD_EXPECTED_DELIVERY = 'expectedDelivery';
25 public const FIELD_CUSTOM = 'custom';
26
33 public function getSku();
34
42 public function getKey();
43
50 public function getSupplyChannel();
51
58 public function getQuantityOnStock();
59
66 public function getRestockableInDays();
67
74 public function getExpectedDelivery();
75
82 public function getCustom();
83
87 public function setSku(?string $sku): void;
88
92 public function setKey(?string $key): void;
93
97 public function setSupplyChannel(?ChannelResourceIdentifier $supplyChannel): void;
98
102 public function setQuantityOnStock(?int $quantityOnStock): void;
103
107 public function setRestockableInDays(?int $restockableInDays): void;
108
112 public function setExpectedDelivery(?DateTimeImmutable $expectedDelivery): void;
113
117 public function setCustom(?CustomFieldsDraft $custom): void;
118}
getSku()
getExpectedDelivery()
const FIELD_KEY
setCustom(?CustomFieldsDraft $custom)
setSupplyChannel(?ChannelResourceIdentifier $supplyChannel)
setQuantityOnStock(?int $quantityOnStock)
const FIELD_SUPPLY_CHANNEL
setExpectedDelivery(?DateTimeImmutable $expectedDelivery)
setSku(?string $sku)
const FIELD_RESTOCKABLE_IN_DAYS
getRestockableInDays()
getKey()
setRestockableInDays(?int $restockableInDays)
const FIELD_QUANTITY_ON_STOCK
const FIELD_CUSTOM
getQuantityOnStock()
getCustom()
const FIELD_SKU
getSupplyChannel()
setKey(?string $key)
const FIELD_EXPECTED_DELIVERY