commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CategoryImport.php
1 <?php
2 
3 declare(strict_types=1);
10 
18 
19 interface CategoryImport extends ImportResource
20 {
21  public const FIELD_NAME = 'name';
22  public const FIELD_SLUG = 'slug';
23  public const FIELD_DESCRIPTION = 'description';
24  public const FIELD_PARENT = 'parent';
25  public const FIELD_ORDER_HINT = 'orderHint';
26  public const FIELD_EXTERNAL_ID = 'externalId';
27  public const FIELD_META_TITLE = 'metaTitle';
28  public const FIELD_META_DESCRIPTION = 'metaDescription';
29  public const FIELD_META_KEYWORDS = 'metaKeywords';
30  public const FIELD_ASSETS = 'assets';
31  public const FIELD_CUSTOM = 'custom';
32 
39  public function getKey();
40 
47  public function getName();
48 
56  public function getSlug();
57 
64  public function getDescription();
65 
74  public function getParent();
75 
82  public function getOrderHint();
83 
90  public function getExternalId();
91 
98  public function getMetaTitle();
99 
106  public function getMetaDescription();
107 
114  public function getMetaKeywords();
115 
120  public function getAssets();
121 
128  public function getCustom();
129 
133  public function setKey(?string $key): void;
134 
138  public function setName(?LocalizedString $name): void;
139 
143  public function setSlug(?LocalizedString $slug): void;
144 
148  public function setDescription(?LocalizedString $description): void;
149 
153  public function setParent(?CategoryKeyReference $parent): void;
154 
158  public function setOrderHint(?string $orderHint): void;
159 
163  public function setExternalId(?string $externalId): void;
164 
168  public function setMetaTitle(?LocalizedString $metaTitle): void;
169 
173  public function setMetaDescription(?LocalizedString $metaDescription): void;
174 
178  public function setMetaKeywords(?LocalizedString $metaKeywords): void;
179 
183  public function setAssets(?AssetCollection $assets): void;
184 
188  public function setCustom(?Custom $custom): void;
189 }
setMetaDescription(?LocalizedString $metaDescription)
setMetaKeywords(?LocalizedString $metaKeywords)