commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CustomObject
CustomObject.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CustomObject
;
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\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
use DateTimeImmutable;
17
18
interface
CustomObject
extends
BaseResource
19
{
20
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
21
public
const
FIELD_CREATED_BY
=
'createdBy'
;
22
public
const
FIELD_CONTAINER
=
'container'
;
23
public
const
FIELD_KEY
=
'key'
;
24
public
const
FIELD_VALUE
=
'value'
;
25
32
public
function
getId
();
33
40
public
function
getVersion
();
41
48
public
function
getCreatedAt
();
49
56
public
function
getLastModifiedAt
();
57
64
public
function
getLastModifiedBy
();
65
72
public
function
getCreatedBy
();
73
80
public
function
getContainer
();
81
88
public
function
getKey
();
89
99
public
function
getValue
();
100
104
public
function
setId
(?
string
$id): void;
105
109
public
function
setVersion
(?
int
$version): void;
110
114
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
115
119
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
120
124
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
125
129
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
130
134
public
function
setContainer
(?
string
$container): void;
135
139
public
function
setKey
(?
string
$key): void;
140
144
public
function
setValue
($value): void;
145
}
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\CustomObject\CustomObject
Definition:
CustomObject.php:19
Commercetools\Api\Models\CustomObject\CustomObject\getId
getId()
Commercetools\Api\Models\CustomObject\CustomObject\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\CustomObject\CustomObject\setValue
setValue($value)
Commercetools\Api\Models\CustomObject\CustomObject\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\CustomObject\CustomObject\setContainer
setContainer(?string $container)
Commercetools\Api\Models\CustomObject\CustomObject\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\CustomObject\CustomObject\setKey
setKey(?string $key)
Commercetools\Api\Models\CustomObject\CustomObject\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
CustomObject.php:21
Commercetools\Api\Models\CustomObject\CustomObject\FIELD_VALUE
const FIELD_VALUE
Definition:
CustomObject.php:24
Commercetools\Api\Models\CustomObject\CustomObject\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
CustomObject.php:20
Commercetools\Api\Models\CustomObject\CustomObject\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\CustomObject\CustomObject\FIELD_CONTAINER
const FIELD_CONTAINER
Definition:
CustomObject.php:22
Commercetools\Api\Models\CustomObject\CustomObject\getKey
getKey()
Commercetools\Api\Models\CustomObject\CustomObject\setId
setId(?string $id)
Commercetools\Api\Models\CustomObject\CustomObject\setVersion
setVersion(?int $version)
Commercetools\Api\Models\CustomObject\CustomObject\getValue
getValue()
Commercetools\Api\Models\CustomObject\CustomObject\getContainer
getContainer()
Commercetools\Api\Models\CustomObject\CustomObject\getVersion
getVersion()
Commercetools\Api\Models\CustomObject\CustomObject\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\CustomObject\CustomObject\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\CustomObject\CustomObject\FIELD_KEY
const FIELD_KEY
Definition:
CustomObject.php:23
Commercetools\Api\Models\CustomObject\CustomObject\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\CustomObject\CustomObject\getCreatedAt
getCreatedAt()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CustomObject
Definition:
CustomObject.php:9
Generated by
1.9.1