commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Change
TransitionLineItemStateChange.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
TransitionLineItemStateChange
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_STATE_ID
=
'stateId'
;
22
27
public
function
getType
();
28
33
public
function
getChange
();
34
41
public
function
getPreviousValue
();
42
49
public
function
getNextValue
();
50
57
public
function
getLineItemId
();
58
65
public
function
getStateId
();
66
70
public
function
setChange
(?
string
$change): void;
71
75
public
function
setPreviousValue
(?
ItemStateCollection
$previousValue): void;
76
80
public
function
setNextValue
(?
ItemStateCollection
$nextValue): void;
81
85
public
function
setLineItemId
(?
string
$lineItemId): void;
86
90
public
function
setStateId
(?
string
$stateId): void;
91
}
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\TransitionLineItemStateChange
Definition:
TransitionLineItemStateChange.php:16
Commercetools\History\Models\Change\TransitionLineItemStateChange\getType
getType()
Commercetools\History\Models\Change\TransitionLineItemStateChange\FIELD_STATE_ID
const FIELD_STATE_ID
Definition:
TransitionLineItemStateChange.php:21
Commercetools\History\Models\Change\TransitionLineItemStateChange\FIELD_LINE_ITEM_ID
const FIELD_LINE_ITEM_ID
Definition:
TransitionLineItemStateChange.php:20
Commercetools\History\Models\Change\TransitionLineItemStateChange\getNextValue
getNextValue()
Commercetools\History\Models\Change\TransitionLineItemStateChange\setPreviousValue
setPreviousValue(?ItemStateCollection $previousValue)
Commercetools\History\Models\Change\TransitionLineItemStateChange\getStateId
getStateId()
Commercetools\History\Models\Change\TransitionLineItemStateChange\setNextValue
setNextValue(?ItemStateCollection $nextValue)
Commercetools\History\Models\Change\TransitionLineItemStateChange\getLineItemId
getLineItemId()
Commercetools\History\Models\Change\TransitionLineItemStateChange\setLineItemId
setLineItemId(?string $lineItemId)
Commercetools\History\Models\Change\TransitionLineItemStateChange\FIELD_NEXT_VALUE
const FIELD_NEXT_VALUE
Definition:
TransitionLineItemStateChange.php:19
Commercetools\History\Models\Change\TransitionLineItemStateChange\FIELD_PREVIOUS_VALUE
const FIELD_PREVIOUS_VALUE
Definition:
TransitionLineItemStateChange.php:18
Commercetools\History\Models\Change\TransitionLineItemStateChange\getPreviousValue
getPreviousValue()
Commercetools\History\Models\Change\TransitionLineItemStateChange\getChange
getChange()
Commercetools\History\Models\Change\TransitionLineItemStateChange\setChange
setChange(?string $change)
Commercetools\History\Models\Change\TransitionLineItemStateChange\setStateId
setStateId(?string $stateId)
Commercetools\History\Models\Change
Definition:
AddAddressChange.php:9
Generated by
1.9.1