commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
SetVariantAvailabilityChange.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
16 {
17 
18  public const FIELD_PREVIOUS_VALUE = 'previousValue';
19  public const FIELD_NEXT_VALUE = 'nextValue';
20  public const FIELD_CATALOG_DATA = 'catalogData';
21  public const FIELD_VARIANT = 'variant';
22 
27  public function getType();
28 
33  public function getChange();
34 
41  public function getPreviousValue();
42 
49  public function getNextValue();
50 
60  public function getCatalogData();
61 
68  public function getVariant();
69 
73  public function setChange(?string $change): void;
74 
78  public function setPreviousValue(?ProductVariantAvailability $previousValue): void;
79 
83  public function setNextValue(?ProductVariantAvailability $nextValue): void;
84 
88  public function setCatalogData(?string $catalogData): void;
89 
93  public function setVariant(?string $variant): void;
94 }
setNextValue(?ProductVariantAvailability $nextValue)
setPreviousValue(?ProductVariantAvailability $previousValue)