commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Common
AssetDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Common
;
10
11
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
AssetDraft
extends
JsonObject
16
{
17
public
const
FIELD_SOURCES
=
'sources'
;
18
public
const
FIELD_NAME
=
'name'
;
19
public
const
FIELD_DESCRIPTION
=
'description'
;
20
public
const
FIELD_TAGS
=
'tags'
;
21
public
const
FIELD_CUSTOM
=
'custom'
;
22
public
const
FIELD_KEY
=
'key'
;
23
28
public
function
getSources
();
29
36
public
function
getName
();
37
44
public
function
getDescription
();
45
52
public
function
getTags
();
53
60
public
function
getCustom
();
61
68
public
function
getKey
();
69
73
public
function
setSources
(?
AssetSourceCollection
$sources): void;
74
78
public
function
setName
(?
LocalizedString
$name): void;
79
83
public
function
setDescription
(?
LocalizedString
$description): void;
84
88
public
function
setTags
(?array $tags): void;
89
93
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
94
98
public
function
setKey
(?
string
$key): void;
99
}
Commercetools\Api\Models\Common\AssetSourceCollection
Definition:
AssetSourceCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\AssetDraft
Definition:
AssetDraft.php:16
Commercetools\Api\Models\Common\AssetDraft\setSources
setSources(?AssetSourceCollection $sources)
Commercetools\Api\Models\Common\AssetDraft\getSources
getSources()
Commercetools\Api\Models\Common\AssetDraft\FIELD_NAME
const FIELD_NAME
Definition:
AssetDraft.php:18
Commercetools\Api\Models\Common\AssetDraft\getKey
getKey()
Commercetools\Api\Models\Common\AssetDraft\FIELD_TAGS
const FIELD_TAGS
Definition:
AssetDraft.php:20
Commercetools\Api\Models\Common\AssetDraft\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Common\AssetDraft\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
AssetDraft.php:19
Commercetools\Api\Models\Common\AssetDraft\getName
getName()
Commercetools\Api\Models\Common\AssetDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
AssetDraft.php:21
Commercetools\Api\Models\Common\AssetDraft\setTags
setTags(?array $tags)
Commercetools\Api\Models\Common\AssetDraft\setDescription
setDescription(?LocalizedString $description)
Commercetools\Api\Models\Common\AssetDraft\getCustom
getCustom()
Commercetools\Api\Models\Common\AssetDraft\getTags
getTags()
Commercetools\Api\Models\Common\AssetDraft\getDescription
getDescription()
Commercetools\Api\Models\Common\AssetDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Common\AssetDraft\FIELD_SOURCES
const FIELD_SOURCES
Definition:
AssetDraft.php:17
Commercetools\Api\Models\Common\AssetDraft\FIELD_KEY
const FIELD_KEY
Definition:
AssetDraft.php:22
Commercetools\Api\Models\Common\AssetDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Common
Definition:
Address.php:9
Generated by
1.9.1