commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-history
src
Models
Change
TransitionCustomLineItemStateChange.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\ItemStateCollection
;
14
15
interface
TransitionCustomLineItemStateChange
extends
Change
16
{
17
18
public
const
FIELD_PREVIOUS_VALUE
=
'previousValue'
;
19
public
const
FIELD_NEXT_VALUE
=
'nextValue'
;
20
public
const
FIELD_LINE_ITEM_ID
=
'lineItemId'
;
21
public
const
FIELD_CUSTOM_LINE_ITEM_ID
=
'customLineItemId'
;
22
public
const
FIELD_STATE_ID
=
'stateId'
;
23
28
public
function
getType
();
29
34
public
function
getChange
();
35
42
public
function
getPreviousValue
();
43
50
public
function
getNextValue
();
51
58
public
function
getLineItemId
();
59
66
public
function
getCustomLineItemId
();
67
74
public
function
getStateId
();
75
79
public
function
setChange
(?
string
$change): void;
80
84
public
function
setPreviousValue
(?
ItemStateCollection
$previousValue): void;
85
89
public
function
setNextValue
(?
ItemStateCollection
$nextValue): void;
90
94
public
function
setLineItemId
(?
string
$lineItemId): void;
95
99
public
function
setCustomLineItemId
(?
string
$customLineItemId): void;
100
104
public
function
setStateId
(?
string
$stateId): void;
105
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\History\Models\Common\ItemStateCollection
Definition
ItemStateCollection.php:22
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\History\Models\Change\Change
Definition
Change.php:15
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange
Definition
TransitionCustomLineItemStateChange.php:16
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\setCustomLineItemId
setCustomLineItemId(?string $customLineItemId)
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition
TransitionCustomLineItemStateChange.php:18
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\setNextValue
setNextValue(?ItemStateCollection $nextValue)
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\getType
getType()
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\getLineItemId
getLineItemId()
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition
TransitionCustomLineItemStateChange.php:20
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\getStateId
getStateId()
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition
TransitionCustomLineItemStateChange.php:19
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\setPreviousValue
setPreviousValue(?ItemStateCollection $previousValue)
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\FIELD_CUSTOM_LINE_ITEM_ID
const FIELD_CUSTOM_LINE_ITEM_ID
Definition
TransitionCustomLineItemStateChange.php:21
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\FIELD_STATE_ID
const FIELD_STATE_ID
Definition
TransitionCustomLineItemStateChange.php:22
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\setStateId
setStateId(?string $stateId)
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\getCustomLineItemId
getCustomLineItemId()
Commercetools\History\Models\Change\TransitionCustomLineItemStateChange\getChange
getChange()
Commercetools\History\Models\Change
Definition
AddAddressChange.php:9
Generated by
1.9.8