commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
State
StateUpdate.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\State
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
StateUpdate
extends
JsonObject
15
{
16
public
const
FIELD_VERSION
=
'version'
;
17
public
const
FIELD_ACTIONS
=
'actions'
;
18
26
public
function
getVersion
();
27
34
public
function
getActions
();
35
39
public
function
setVersion
(?
int
$version): void;
40
44
public
function
setActions
(?
StateUpdateActionCollection
$actions): void;
45
}
Commercetools\Api\Models\State\StateUpdateActionCollection
Definition:
StateUpdateActionCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\State\StateUpdate
Definition:
StateUpdate.php:15
Commercetools\Api\Models\State\StateUpdate\getVersion
getVersion()
Commercetools\Api\Models\State\StateUpdate\setActions
setActions(?StateUpdateActionCollection $actions)
Commercetools\Api\Models\State\StateUpdate\setVersion
setVersion(?int $version)
Commercetools\Api\Models\State\StateUpdate\FIELD_VERSION
const FIELD_VERSION
Definition:
StateUpdate.php:16
Commercetools\Api\Models\State\StateUpdate\getActions
getActions()
Commercetools\Api\Models\State\StateUpdate\FIELD_ACTIONS
const FIELD_ACTIONS
Definition:
StateUpdate.php:17
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\State
Definition:
State.php:9
Generated by
1.9.1