commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
SetLineItemDiscountedPriceChange.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_LINE_ITEM = 'lineItem';
22  public const FIELD_VARIANT = 'variant';
23 
28  public function getType();
29 
34  public function getChange();
35 
42  public function getPreviousValue();
43 
50  public function getNextValue();
51 
58  public function getLineItem();
59 
66  public function getVariant();
67 
71  public function setChange(?string $change): void;
72 
76  public function setPreviousValue(?DiscountedLineItemPrice $previousValue): void;
77 
81  public function setNextValue(?DiscountedLineItemPrice $nextValue): void;
82 
86  public function setLineItem(?LocalizedString $lineItem): void;
87 
91  public function setVariant(?string $variant): void;
92 }
setPreviousValue(?DiscountedLineItemPrice $previousValue)