commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CategoryDraft.php
1<?php
2
3declare(strict_types=1);
10
16
17interface CategoryDraft extends JsonObject
18{
19 public const FIELD_NAME = 'name';
20 public const FIELD_SLUG = 'slug';
21 public const FIELD_DESCRIPTION = 'description';
22 public const FIELD_PARENT = 'parent';
23 public const FIELD_ORDER_HINT = 'orderHint';
24 public const FIELD_EXTERNAL_ID = 'externalId';
25 public const FIELD_META_TITLE = 'metaTitle';
26 public const FIELD_META_DESCRIPTION = 'metaDescription';
27 public const FIELD_META_KEYWORDS = 'metaKeywords';
28 public const FIELD_CUSTOM = 'custom';
29 public const FIELD_ASSETS = 'assets';
30 public const FIELD_KEY = 'key';
31
38 public function getName();
39
48 public function getSlug();
49
56 public function getDescription();
57
65 public function getParent();
66
74 public function getOrderHint();
75
82 public function getExternalId();
83
90 public function getMetaTitle();
91
98 public function getMetaDescription();
99
106 public function getMetaKeywords();
107
114 public function getCustom();
115
122 public function getAssets();
123
131 public function getKey();
132
136 public function setName(?LocalizedString $name): void;
137
141 public function setSlug(?LocalizedString $slug): void;
142
146 public function setDescription(?LocalizedString $description): void;
147
151 public function setParent(?CategoryResourceIdentifier $parent): void;
152
156 public function setOrderHint(?string $orderHint): void;
157
161 public function setExternalId(?string $externalId): void;
162
166 public function setMetaTitle(?LocalizedString $metaTitle): void;
167
171 public function setMetaDescription(?LocalizedString $metaDescription): void;
172
176 public function setMetaKeywords(?LocalizedString $metaKeywords): void;
177
181 public function setCustom(?CustomFieldsDraft $custom): void;
182
186 public function setAssets(?AssetDraftCollection $assets): void;
187
191 public function setKey(?string $key): void;
192}
setDescription(?LocalizedString $description)
setMetaDescription(?LocalizedString $metaDescription)
setMetaTitle(?LocalizedString $metaTitle)
setAssets(?AssetDraftCollection $assets)
setParent(?CategoryResourceIdentifier $parent)
setMetaKeywords(?LocalizedString $metaKeywords)