commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
SetVariantSelectionChange.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18 
19  public const FIELD_PREVIOUS_VALUE = 'previousValue';
20  public const FIELD_NEXT_VALUE = 'nextValue';
21  public const FIELD_PRODUCT = 'product';
22 
27  public function getType();
28 
33  public function getChange();
34 
41  public function getPreviousValue();
42 
49  public function getNextValue();
50 
57  public function getProduct();
58 
62  public function setChange(?string $change): void;
63 
67  public function setPreviousValue(?ProductVariantSelection $previousValue): void;
68 
72  public function setNextValue(?ProductVariantSelection $nextValue): void;
73 
77  public function setProduct(?Reference $product): void;
78 }
setPreviousValue(?ProductVariantSelection $previousValue)