commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
OrderStateTransitionMessage.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
15
interface
OrderStateTransitionMessage
extends
OrderMessage
16
{
17
public
const
FIELD_STATE
=
'state'
;
18
public
const
FIELD_OLD_STATE
=
'oldState'
;
19
public
const
FIELD_FORCE
=
'force'
;
20
27
public
function
getState
();
28
35
public
function
getOldState
();
36
43
public
function
getForce
();
44
48
public
function
setState
(?
StateReference
$state): void;
49
53
public
function
setOldState
(?
StateReference
$oldState): void;
54
58
public
function
setForce
(?
bool
$force): void;
59
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\OrderMessage
Definition:
OrderMessage.php:15
Commercetools\Api\Models\Message\OrderStateTransitionMessage
Definition:
OrderStateTransitionMessage.php:16
Commercetools\Api\Models\Message\OrderStateTransitionMessage\setOldState
setOldState(?StateReference $oldState)
Commercetools\Api\Models\Message\OrderStateTransitionMessage\FIELD_FORCE
const FIELD_FORCE
Definition:
OrderStateTransitionMessage.php:19
Commercetools\Api\Models\Message\OrderStateTransitionMessage\setState
setState(?StateReference $state)
Commercetools\Api\Models\Message\OrderStateTransitionMessage\getState
getState()
Commercetools\Api\Models\Message\OrderStateTransitionMessage\getForce
getForce()
Commercetools\Api\Models\Message\OrderStateTransitionMessage\getOldState
getOldState()
Commercetools\Api\Models\Message\OrderStateTransitionMessage\FIELD_STATE
const FIELD_STATE
Definition:
OrderStateTransitionMessage.php:17
Commercetools\Api\Models\Message\OrderStateTransitionMessage\FIELD_OLD_STATE
const FIELD_OLD_STATE
Definition:
OrderStateTransitionMessage.php:18
Commercetools\Api\Models\Message\OrderStateTransitionMessage\setForce
setForce(?bool $force)
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