commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
InventoryEntryQuantitySetMessage.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
16 {
17  public const FIELD_OLD_QUANTITY_ON_STOCK = 'oldQuantityOnStock';
18  public const FIELD_NEW_QUANTITY_ON_STOCK = 'newQuantityOnStock';
19  public const FIELD_OLD_AVAILABLE_QUANTITY = 'oldAvailableQuantity';
20  public const FIELD_NEW_AVAILABLE_QUANTITY = 'newAvailableQuantity';
21  public const FIELD_SUPPLY_CHANNEL = 'supplyChannel';
22 
29  public function getOldQuantityOnStock();
30 
37  public function getNewQuantityOnStock();
38 
45  public function getOldAvailableQuantity();
46 
53  public function getNewAvailableQuantity();
54 
61  public function getSupplyChannel();
62 
66  public function setOldQuantityOnStock(?int $oldQuantityOnStock): void;
67 
71  public function setNewQuantityOnStock(?int $newQuantityOnStock): void;
72 
76  public function setOldAvailableQuantity(?int $oldAvailableQuantity): void;
77 
81  public function setNewAvailableQuantity(?int $newAvailableQuantity): void;
82 
86  public function setSupplyChannel(?ChannelReference $supplyChannel): void;
87 }
const FIELD_OLD_QUANTITY_ON_STOCK
getOldQuantityOnStock()
getOldAvailableQuantity()
const FIELD_OLD_AVAILABLE_QUANTITY
getNewQuantityOnStock()
setNewAvailableQuantity(?int $newAvailableQuantity)
const FIELD_NEW_AVAILABLE_QUANTITY
setNewQuantityOnStock(?int $newQuantityOnStock)
setOldQuantityOnStock(?int $oldQuantityOnStock)
getNewAvailableQuantity()
const FIELD_SUPPLY_CHANNEL
const FIELD_NEW_QUANTITY_ON_STOCK
setSupplyChannel(?ChannelReference $supplyChannel)
setOldAvailableQuantity(?int $oldAvailableQuantity)
getSupplyChannel()