commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
OrderEdit
OrderEditDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\OrderEdit
;
10
11
use
Commercetools\Api\Models\Order\OrderReference
;
12
use
Commercetools\Api\Models\Order\StagedOrderUpdateActionCollection
;
13
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
17
interface
OrderEditDraft
extends
JsonObject
18
{
19
public
const
FIELD_KEY
=
'key'
;
20
public
const
FIELD_RESOURCE
=
'resource'
;
21
public
const
FIELD_STAGED_ACTIONS
=
'stagedActions'
;
22
public
const
FIELD_CUSTOM
=
'custom'
;
23
public
const
FIELD_COMMENT
=
'comment'
;
24
public
const
FIELD_DRY_RUN
=
'dryRun'
;
25
32
public
function
getKey
();
33
40
public
function
getResource
();
41
49
public
function
getStagedActions
();
50
57
public
function
getCustom
();
58
65
public
function
getComment
();
66
75
public
function
getDryRun
();
76
80
public
function
setKey
(?
string
$key): void;
81
85
public
function
setResource
(?
OrderReference
$resource): void;
86
90
public
function
setStagedActions
(?
StagedOrderUpdateActionCollection
$stagedActions): void;
91
95
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
96
100
public
function
setComment
(?
string
$comment): void;
101
105
public
function
setDryRun
(?
bool
$dryRun): void;
106
}
Commercetools\Api\Models\Order\StagedOrderUpdateActionCollection
Definition:
StagedOrderUpdateActionCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Order\OrderReference
Definition:
OrderReference.php:16
Commercetools\Api\Models\OrderEdit\OrderEditDraft
Definition:
OrderEditDraft.php:18
Commercetools\Api\Models\OrderEdit\OrderEditDraft\FIELD_RESOURCE
const FIELD_RESOURCE
Definition:
OrderEditDraft.php:20
Commercetools\Api\Models\OrderEdit\OrderEditDraft\getCustom
getCustom()
Commercetools\Api\Models\OrderEdit\OrderEditDraft\FIELD_STAGED_ACTIONS
const FIELD_STAGED_ACTIONS
Definition:
OrderEditDraft.php:21
Commercetools\Api\Models\OrderEdit\OrderEditDraft\setDryRun
setDryRun(?bool $dryRun)
Commercetools\Api\Models\OrderEdit\OrderEditDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\OrderEdit\OrderEditDraft\getStagedActions
getStagedActions()
Commercetools\Api\Models\OrderEdit\OrderEditDraft\getDryRun
getDryRun()
Commercetools\Api\Models\OrderEdit\OrderEditDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
OrderEditDraft.php:22
Commercetools\Api\Models\OrderEdit\OrderEditDraft\setStagedActions
setStagedActions(?StagedOrderUpdateActionCollection $stagedActions)
Commercetools\Api\Models\OrderEdit\OrderEditDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\OrderEdit\OrderEditDraft\getKey
getKey()
Commercetools\Api\Models\OrderEdit\OrderEditDraft\getComment
getComment()
Commercetools\Api\Models\OrderEdit\OrderEditDraft\setComment
setComment(?string $comment)
Commercetools\Api\Models\OrderEdit\OrderEditDraft\setResource
setResource(?OrderReference $resource)
Commercetools\Api\Models\OrderEdit\OrderEditDraft\FIELD_COMMENT
const FIELD_COMMENT
Definition:
OrderEditDraft.php:23
Commercetools\Api\Models\OrderEdit\OrderEditDraft\FIELD_KEY
const FIELD_KEY
Definition:
OrderEditDraft.php:19
Commercetools\Api\Models\OrderEdit\OrderEditDraft\getResource
getResource()
Commercetools\Api\Models\OrderEdit\OrderEditDraft\FIELD_DRY_RUN
const FIELD_DRY_RUN
Definition:
OrderEditDraft.php:24
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\OrderEdit
Definition:
OrderEdit.php:9
Generated by
1.9.1