commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
OrderEdit
OrderEdit.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\OrderEdit
;
10
11
use
Commercetools\Api\Models\Common\BaseResource
;
12
use
Commercetools\Api\Models\Common\CreatedBy
;
13
use
Commercetools\Api\Models\Common\LastModifiedBy
;
14
use
Commercetools\Api\Models\Order\OrderReference
;
15
use
Commercetools\Api\Models\Order\StagedOrderUpdateActionCollection
;
16
use
Commercetools\Api\Models\Type\CustomFields
;
17
use
Commercetools\Base\DateTimeImmutableCollection
;
18
use
Commercetools\Base\JsonObject
;
19
use DateTimeImmutable;
20
21
interface
OrderEdit
extends
BaseResource
22
{
23
public
const
FIELD_KEY
=
'key'
;
24
public
const
FIELD_RESOURCE
=
'resource'
;
25
public
const
FIELD_STAGED_ACTIONS
=
'stagedActions'
;
26
public
const
FIELD_RESULT
=
'result'
;
27
public
const
FIELD_COMMENT
=
'comment'
;
28
public
const
FIELD_CUSTOM
=
'custom'
;
29
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
30
public
const
FIELD_CREATED_BY
=
'createdBy'
;
31
38
public
function
getId
();
39
46
public
function
getVersion
();
47
54
public
function
getKey
();
55
62
public
function
getResource
();
63
70
public
function
getStagedActions
();
71
79
public
function
getResult
();
80
87
public
function
getComment
();
88
95
public
function
getCustom
();
96
103
public
function
getCreatedAt
();
104
111
public
function
getLastModifiedAt
();
112
119
public
function
getLastModifiedBy
();
120
127
public
function
getCreatedBy
();
128
132
public
function
setId
(?
string
$id): void;
133
137
public
function
setVersion
(?
int
$version): void;
138
142
public
function
setKey
(?
string
$key): void;
143
147
public
function
setResource
(?
OrderReference
$resource): void;
148
152
public
function
setStagedActions
(?
StagedOrderUpdateActionCollection
$stagedActions): void;
153
157
public
function
setResult
(?
OrderEditResult
$result): void;
158
162
public
function
setComment
(?
string
$comment): void;
163
167
public
function
setCustom
(?
CustomFields
$custom): void;
168
172
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
173
177
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
178
182
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
183
187
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
188
}
Commercetools\Api\Models\Order\StagedOrderUpdateActionCollection
Definition:
StagedOrderUpdateActionCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\Order\OrderReference
Definition:
OrderReference.php:16
Commercetools\Api\Models\OrderEdit\OrderEdit
Definition:
OrderEdit.php:22
Commercetools\Api\Models\OrderEdit\OrderEdit\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\OrderEdit\OrderEdit\getKey
getKey()
Commercetools\Api\Models\OrderEdit\OrderEdit\getComment
getComment()
Commercetools\Api\Models\OrderEdit\OrderEdit\setId
setId(?string $id)
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_RESOURCE
const FIELD_RESOURCE
Definition:
OrderEdit.php:24
Commercetools\Api\Models\OrderEdit\OrderEdit\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\OrderEdit\OrderEdit\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\OrderEdit\OrderEdit\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\OrderEdit\OrderEdit\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
OrderEdit.php:28
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_RESULT
const FIELD_RESULT
Definition:
OrderEdit.php:26
Commercetools\Api\Models\OrderEdit\OrderEdit\setKey
setKey(?string $key)
Commercetools\Api\Models\OrderEdit\OrderEdit\setResult
setResult(?OrderEditResult $result)
Commercetools\Api\Models\OrderEdit\OrderEdit\getResult
getResult()
Commercetools\Api\Models\OrderEdit\OrderEdit\getCustom
getCustom()
Commercetools\Api\Models\OrderEdit\OrderEdit\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\OrderEdit\OrderEdit\getVersion
getVersion()
Commercetools\Api\Models\OrderEdit\OrderEdit\setComment
setComment(?string $comment)
Commercetools\Api\Models\OrderEdit\OrderEdit\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\OrderEdit\OrderEdit\getId
getId()
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
OrderEdit.php:29
Commercetools\Api\Models\OrderEdit\OrderEdit\getStagedActions
getStagedActions()
Commercetools\Api\Models\OrderEdit\OrderEdit\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
OrderEdit.php:30
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_KEY
const FIELD_KEY
Definition:
OrderEdit.php:23
Commercetools\Api\Models\OrderEdit\OrderEdit\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\OrderEdit\OrderEdit\setResource
setResource(?OrderReference $resource)
Commercetools\Api\Models\OrderEdit\OrderEdit\getResource
getResource()
Commercetools\Api\Models\OrderEdit\OrderEdit\setStagedActions
setStagedActions(?StagedOrderUpdateActionCollection $stagedActions)
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_STAGED_ACTIONS
const FIELD_STAGED_ACTIONS
Definition:
OrderEdit.php:25
Commercetools\Api\Models\OrderEdit\OrderEdit\FIELD_COMMENT
const FIELD_COMMENT
Definition:
OrderEdit.php:27
Commercetools\Api\Models\OrderEdit\OrderEdit\setVersion
setVersion(?int $version)
Commercetools\Api\Models\OrderEdit\OrderEditResult
Definition:
OrderEditResult.php:15
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\OrderEdit
Definition:
OrderEdit.php:9
Generated by
1.9.1