commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
CustomLineItemStateTransitionMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\State\StateReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
use DateTimeImmutable;
15
16
interface
CustomLineItemStateTransitionMessage
extends
OrderMessage
17
{
18
public
const
FIELD_CUSTOM_LINE_ITEM_ID
=
'customLineItemId'
;
19
public
const
FIELD_CUSTOM_LINE_ITEM_KEY
=
'customLineItemKey'
;
20
public
const
FIELD_TRANSITION_DATE
=
'transitionDate'
;
21
public
const
FIELD_QUANTITY
=
'quantity'
;
22
public
const
FIELD_FROM_STATE
=
'fromState'
;
23
public
const
FIELD_TO_STATE
=
'toState'
;
24
31
public
function
getCustomLineItemId
();
32
39
public
function
getCustomLineItemKey
();
40
47
public
function
getTransitionDate
();
48
55
public
function
getQuantity
();
56
63
public
function
getFromState
();
64
71
public
function
getToState
();
72
76
public
function
setCustomLineItemId
(?
string
$customLineItemId): void;
77
81
public
function
setCustomLineItemKey
(?
string
$customLineItemKey): void;
82
86
public
function
setTransitionDate
(?DateTimeImmutable $transitionDate): void;
87
91
public
function
setQuantity
(?
int
$quantity): void;
92
96
public
function
setFromState
(?
StateReference
$fromState): void;
97
101
public
function
setToState
(?
StateReference
$toState): void;
102
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage
Definition:
CustomLineItemStateTransitionMessage.php:17
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\FIELD_CUSTOM_LINE_ITEM_KEY
const FIELD_CUSTOM_LINE_ITEM_KEY
Definition:
CustomLineItemStateTransitionMessage.php:19
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\setTransitionDate
setTransitionDate(?DateTimeImmutable $transitionDate)
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\setToState
setToState(?StateReference $toState)
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\FIELD_QUANTITY
const FIELD_QUANTITY
Definition:
CustomLineItemStateTransitionMessage.php:21
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\setCustomLineItemKey
setCustomLineItemKey(?string $customLineItemKey)
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\getTransitionDate
getTransitionDate()
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\FIELD_CUSTOM_LINE_ITEM_ID
const FIELD_CUSTOM_LINE_ITEM_ID
Definition:
CustomLineItemStateTransitionMessage.php:18
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\setCustomLineItemId
setCustomLineItemId(?string $customLineItemId)
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\getCustomLineItemKey
getCustomLineItemKey()
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\FIELD_FROM_STATE
const FIELD_FROM_STATE
Definition:
CustomLineItemStateTransitionMessage.php:22
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\FIELD_TO_STATE
const FIELD_TO_STATE
Definition:
CustomLineItemStateTransitionMessage.php:23
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\getFromState
getFromState()
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\FIELD_TRANSITION_DATE
const FIELD_TRANSITION_DATE
Definition:
CustomLineItemStateTransitionMessage.php:20
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\getCustomLineItemId
getCustomLineItemId()
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\setQuantity
setQuantity(?int $quantity)
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\getQuantity
getQuantity()
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\setFromState
setFromState(?StateReference $fromState)
Commercetools\Api\Models\Message\CustomLineItemStateTransitionMessage\getToState
getToState()
Commercetools\Api\Models\Message\OrderMessage
Definition:
OrderMessage.php:15
Commercetools\Api\Models\State\StateReference
Definition:
StateReference.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1