commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
ItemState.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
15 interface ItemState extends JsonObject
16 {
17  public const FIELD_QUANTITY = 'quantity';
18  public const FIELD_STATE = 'state';
19 
24  public function getQuantity();
25 
32  public function getState();
33 
37  public function setQuantity(?int $quantity): void;
38 
42  public function setState(?StateKeyReference $state): void;
43 }