commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetLineItemDiscountedPriceChange.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\Change
;
10
11
use
Commercetools\Base\JsonObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\History\Models\Common\DiscountedLineItemPrice
;
14
use
Commercetools\History\Models\Common\LocalizedString
;
15
16
interface
SetLineItemDiscountedPriceChange
extends
Change
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Change\Change
Definition:
Change.php:15
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange
Definition:
SetLineItemDiscountedPriceChange.php:17
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\FIELD_VARIANT
const FIELD_VARIANT
Definition:
SetLineItemDiscountedPriceChange.php:22
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\setNextValue
setNextValue(?DiscountedLineItemPrice $nextValue)
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\setVariant
setVariant(?string $variant)
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\getLineItem
getLineItem()
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\getChange
getChange()
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetLineItemDiscountedPriceChange.php:20
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\setPreviousValue
setPreviousValue(?DiscountedLineItemPrice $previousValue)
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\setLineItem
setLineItem(?LocalizedString $lineItem)
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\getVariant
getVariant()
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\FIELD_LINE_ITEM
const FIELD_LINE_ITEM
Definition:
SetLineItemDiscountedPriceChange.php:21
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetLineItemDiscountedPriceChange.php:19
Commercetools\History\Models\Change\SetLineItemDiscountedPriceChange\getType
getType()
Commercetools\History\Models\Common\DiscountedLineItemPrice
Definition:
DiscountedLineItemPrice.php:15
Commercetools\History\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1