commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AddProductChange.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
16 interface AddProductChange extends Change
17 {
18 
19  public const FIELD_NEXT_VALUE = 'nextValue';
20  public const FIELD_VARIANT_SELECTION = 'variantSelection';
21 
26  public function getType();
27 
32  public function getChange();
33 
40  public function getNextValue();
41 
48  public function getVariantSelection();
49 
53  public function setChange(?string $change): void;
54 
58  public function setNextValue(?Reference $nextValue): void;
59 
63  public function setVariantSelection(?ProductVariantSelection $variantSelection): void;
64 }
setVariantSelection(?ProductVariantSelection $variantSelection)