commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AssetDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
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 }
setSources(?AssetSourceCollection $sources)
setDescription(?LocalizedString $description)
setCustom(?CustomFieldsDraft $custom)