commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OutOfStockError.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface OutOfStockError extends ErrorObject
15 {
16  public const FIELD_LINE_ITEMS = 'lineItems';
17  public const FIELD_SKUS = 'skus';
18 
23  public function getCode();
24 
31  public function getMessage();
32 
39  public function getLineItems();
40 
47  public function getSkus();
48 
52  public function setMessage(?string $message): void;
53 
57  public function setLineItems(?array $lineItems): void;
58 
62  public function setSkus(?array $skus): void;
63 }