commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CustomObject
CustomObjectDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CustomObject
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
CustomObjectDraft
extends
JsonObject
15
{
16
public
const
FIELD_CONTAINER
=
'container'
;
17
public
const
FIELD_KEY
=
'key'
;
18
public
const
FIELD_VALUE
=
'value'
;
19
public
const
FIELD_VERSION
=
'version'
;
20
27
public
function
getContainer
();
28
35
public
function
getKey
();
36
47
public
function
getValue
();
48
55
public
function
getVersion
();
56
60
public
function
setContainer
(?
string
$container): void;
61
65
public
function
setKey
(?
string
$key): void;
66
70
public
function
setValue
($value): void;
71
75
public
function
setVersion
(?
int
$version): void;
76
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CustomObject\CustomObjectDraft
Definition:
CustomObjectDraft.php:15
Commercetools\Api\Models\CustomObject\CustomObjectDraft\setVersion
setVersion(?int $version)
Commercetools\Api\Models\CustomObject\CustomObjectDraft\FIELD_KEY
const FIELD_KEY
Definition:
CustomObjectDraft.php:17
Commercetools\Api\Models\CustomObject\CustomObjectDraft\setContainer
setContainer(?string $container)
Commercetools\Api\Models\CustomObject\CustomObjectDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\CustomObject\CustomObjectDraft\FIELD_CONTAINER
const FIELD_CONTAINER
Definition:
CustomObjectDraft.php:16
Commercetools\Api\Models\CustomObject\CustomObjectDraft\getContainer
getContainer()
Commercetools\Api\Models\CustomObject\CustomObjectDraft\setValue
setValue($value)
Commercetools\Api\Models\CustomObject\CustomObjectDraft\getVersion
getVersion()
Commercetools\Api\Models\CustomObject\CustomObjectDraft\getKey
getKey()
Commercetools\Api\Models\CustomObject\CustomObjectDraft\FIELD_VALUE
const FIELD_VALUE
Definition:
CustomObjectDraft.php:18
Commercetools\Api\Models\CustomObject\CustomObjectDraft\FIELD_VERSION
const FIELD_VERSION
Definition:
CustomObjectDraft.php:19
Commercetools\Api\Models\CustomObject\CustomObjectDraft\getValue
getValue()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CustomObject
Definition:
CustomObject.php:9
Generated by
1.9.1