commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
SetCustomLineItemMoneyChange.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\LocalizedString
;
14
use
Commercetools\History\Models\Common\Money
;
15
16
interface
SetCustomLineItemMoneyChange
extends
Change
17
{
18
19
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
20
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
21
public
const
FIELD_CUSTOM_LINE_ITEM
=
'customLineItem'
;
22
public
const
FIELD_CUSTOM_LINE_ITEM_ID
=
'customLineItemId'
;
23
28
public
function
getType
();
29
34
public
function
getChange
();
35
42
public
function
getPreviousValue
();
43
50
public
function
getNextValue
();
51
58
public
function
getCustomLineItem
();
59
66
public
function
getCustomLineItemId
();
67
71
public
function
setChange
(?
string
$change): void;
72
76
public
function
setPreviousValue
(?
Money
$previousValue): void;
77
81
public
function
setNextValue
(?
Money
$nextValue): void;
82
86
public
function
setCustomLineItem
(?
LocalizedString
$customLineItem): void;
87
91
public
function
setCustomLineItemId
(?
string
$customLineItemId): 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\SetCustomLineItemMoneyChange
Definition:
SetCustomLineItemMoneyChange.php:17
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\getChange
getChange()
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\setNextValue
setNextValue(?Money $nextValue)
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\FIELD_CUSTOM_LINE_ITEM
const FIELD_CUSTOM_LINE_ITEM
Definition:
SetCustomLineItemMoneyChange.php:21
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\getCustomLineItemId
getCustomLineItemId()
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\getType
getType()
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\setPreviousValue
setPreviousValue(?Money $previousValue)
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\getCustomLineItem
getCustomLineItem()
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\FIELD_CUSTOM_LINE_ITEM_ID
const FIELD_CUSTOM_LINE_ITEM_ID
Definition:
SetCustomLineItemMoneyChange.php:22
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\setCustomLineItem
setCustomLineItem(?LocalizedString $customLineItem)
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\setCustomLineItemId
setCustomLineItemId(?string $customLineItemId)
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
SetCustomLineItemMoneyChange.php:19
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\SetCustomLineItemMoneyChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
SetCustomLineItemMoneyChange.php:20
Commercetools\History\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\History\Models\Common\Money
Definition:
Money.php:15
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1