commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ReviewStateTransitionMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Common\Reference
;
12
use
Commercetools\Api\Models\State\StateReference
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
ReviewStateTransitionMessage
extends
Message
17
{
18
public
const
FIELD_OLD_STATE
=
'oldState'
;
19
public
const
FIELD_NEW_STATE
=
'newState'
;
20
public
const
FIELD_OLD_INCLUDED_IN_STATISTICS
=
'oldIncludedInStatistics'
;
21
public
const
FIELD_NEW_INCLUDED_IN_STATISTICS
=
'newIncludedInStatistics'
;
22
public
const
FIELD_TARGET
=
'target'
;
23
public
const
FIELD_FORCE
=
'force'
;
24
31
public
function
getOldState
();
32
39
public
function
getNewState
();
40
47
public
function
getOldIncludedInStatistics
();
48
55
public
function
getNewIncludedInStatistics
();
56
63
public
function
getTarget
();
64
71
public
function
getForce
();
72
76
public
function
setOldState
(?
StateReference
$oldState): void;
77
81
public
function
setNewState
(?
StateReference
$newState): void;
82
86
public
function
setOldIncludedInStatistics
(?
bool
$oldIncludedInStatistics): void;
87
91
public
function
setNewIncludedInStatistics
(?
bool
$newIncludedInStatistics): void;
92
96
public
function
setTarget
(?
Reference
$target): void;
97
101
public
function
setForce
(?
bool
$force): void;
102
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\Reference
Definition:
Reference.php:50
Commercetools\Api\Models\Message\Message
Definition:
Message.php:20
Commercetools\Api\Models\Message\ReviewStateTransitionMessage
Definition:
ReviewStateTransitionMessage.php:17
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\getNewState
getNewState()
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\FIELD_TARGET
const FIELD_TARGET
Definition:
ReviewStateTransitionMessage.php:22
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\setOldIncludedInStatistics
setOldIncludedInStatistics(?bool $oldIncludedInStatistics)
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\FIELD_FORCE
const FIELD_FORCE
Definition:
ReviewStateTransitionMessage.php:23
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\getTarget
getTarget()
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\FIELD_OLD_STATE
const FIELD_OLD_STATE
Definition:
ReviewStateTransitionMessage.php:18
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\FIELD_NEW_STATE
const FIELD_NEW_STATE
Definition:
ReviewStateTransitionMessage.php:19
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\setTarget
setTarget(?Reference $target)
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\setNewState
setNewState(?StateReference $newState)
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\getOldIncludedInStatistics
getOldIncludedInStatistics()
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\FIELD_OLD_INCLUDED_IN_STATISTICS
const FIELD_OLD_INCLUDED_IN_STATISTICS
Definition:
ReviewStateTransitionMessage.php:20
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\getNewIncludedInStatistics
getNewIncludedInStatistics()
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\FIELD_NEW_INCLUDED_IN_STATISTICS
const FIELD_NEW_INCLUDED_IN_STATISTICS
Definition:
ReviewStateTransitionMessage.php:21
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\getForce
getForce()
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\setOldState
setOldState(?StateReference $oldState)
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\setNewIncludedInStatistics
setNewIncludedInStatistics(?bool $newIncludedInStatistics)
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\setForce
setForce(?bool $force)
Commercetools\Api\Models\Message\ReviewStateTransitionMessage\getOldState
getOldState()
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