commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
InventoryImport.php
1 <?php
2 
3 declare(strict_types=1);
10 
16 use DateTimeImmutable;
17 
19 {
20  public const FIELD_SKU = 'sku';
21  public const FIELD_QUANTITY_ON_STOCK = 'quantityOnStock';
22  public const FIELD_RESTOCKABLE_IN_DAYS = 'restockableInDays';
23  public const FIELD_EXPECTED_DELIVERY = 'expectedDelivery';
24  public const FIELD_SUPPLY_CHANNEL = 'supplyChannel';
25  public const FIELD_CUSTOM = 'custom';
26 
33  public function getKey();
34 
41  public function getSku();
42 
49  public function getQuantityOnStock();
50 
57  public function getRestockableInDays();
58 
65  public function getExpectedDelivery();
66 
73  public function getSupplyChannel();
74 
81  public function getCustom();
82 
86  public function setKey(?string $key): void;
87 
91  public function setSku(?string $sku): void;
92 
96  public function setQuantityOnStock(?int $quantityOnStock): void;
97 
101  public function setRestockableInDays(?int $restockableInDays): void;
102 
106  public function setExpectedDelivery(?DateTimeImmutable $expectedDelivery): void;
107 
111  public function setSupplyChannel(?ChannelKeyReference $supplyChannel): void;
112 
116  public function setCustom(?Custom $custom): void;
117 }
setSupplyChannel(?ChannelKeyReference $supplyChannel)
setExpectedDelivery(?DateTimeImmutable $expectedDelivery)