commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Type
CustomFieldsDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Type
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
CustomFieldsDraft
extends
JsonObject
15
{
16
public
const
FIELD_TYPE
=
'type'
;
17
public
const
FIELD_FIELDS
=
'fields'
;
18
25
public
function
getType
();
26
33
public
function
getFields
();
34
38
public
function
setType
(?
TypeResourceIdentifier
$type): void;
39
43
public
function
setFields
(?
FieldContainer
$fields): void;
44
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Api\Models\Type\CustomFieldsDraft\getType
getType()
Commercetools\Api\Models\Type\CustomFieldsDraft\getFields
getFields()
Commercetools\Api\Models\Type\CustomFieldsDraft\FIELD_FIELDS
const FIELD_FIELDS
Definition:
CustomFieldsDraft.php:17
Commercetools\Api\Models\Type\CustomFieldsDraft\setFields
setFields(?FieldContainer $fields)
Commercetools\Api\Models\Type\CustomFieldsDraft\FIELD_TYPE
const FIELD_TYPE
Definition:
CustomFieldsDraft.php:16
Commercetools\Api\Models\Type\CustomFieldsDraft\setType
setType(?TypeResourceIdentifier $type)
Commercetools\Api\Models\Type\FieldContainer
Definition:
FieldContainer.php:14
Commercetools\Api\Models\Type\TypeResourceIdentifier
Definition:
TypeResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Type
Definition:
CustomFieldBooleanType.php:9
Generated by
1.9.1