commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ReviewStateTransitionMessagePayload.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
ReviewStateTransitionMessagePayload
extends
MessagePayload
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\MessagePayload
Definition:
MessagePayload.php:15
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload
Definition:
ReviewStateTransitionMessagePayload.php:17
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\FIELD_NEW_INCLUDED_IN_STATISTICS
const FIELD_NEW_INCLUDED_IN_STATISTICS
Definition:
ReviewStateTransitionMessagePayload.php:21
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\getForce
getForce()
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\FIELD_TARGET
const FIELD_TARGET
Definition:
ReviewStateTransitionMessagePayload.php:22
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\FIELD_OLD_INCLUDED_IN_STATISTICS
const FIELD_OLD_INCLUDED_IN_STATISTICS
Definition:
ReviewStateTransitionMessagePayload.php:20
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\getOldState
getOldState()
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\getNewIncludedInStatistics
getNewIncludedInStatistics()
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\FIELD_NEW_STATE
const FIELD_NEW_STATE
Definition:
ReviewStateTransitionMessagePayload.php:19
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\setOldState
setOldState(?StateReference $oldState)
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\setTarget
setTarget(?Reference $target)
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\getOldIncludedInStatistics
getOldIncludedInStatistics()
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\FIELD_FORCE
const FIELD_FORCE
Definition:
ReviewStateTransitionMessagePayload.php:23
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\getNewState
getNewState()
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\setNewState
setNewState(?StateReference $newState)
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\setOldIncludedInStatistics
setOldIncludedInStatistics(?bool $oldIncludedInStatistics)
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\setNewIncludedInStatistics
setNewIncludedInStatistics(?bool $newIncludedInStatistics)
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\FIELD_OLD_STATE
const FIELD_OLD_STATE
Definition:
ReviewStateTransitionMessagePayload.php:18
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\getTarget
getTarget()
Commercetools\Api\Models\Message\ReviewStateTransitionMessagePayload\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