commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CategoryImport.php
1<?php
2
3declare(strict_types=1);
10
18
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
122 public function getAssets();
123
130 public function getCustom();
131
135 public function setKey(?string $key): void;
136
140 public function setName(?LocalizedString $name): void;
141
145 public function setSlug(?LocalizedString $slug): void;
146
150 public function setDescription(?LocalizedString $description): void;
151
155 public function setParent(?CategoryKeyReference $parent): void;
156
160 public function setOrderHint(?string $orderHint): void;
161
165 public function setExternalId(?string $externalId): void;
166
170 public function setMetaTitle(?LocalizedString $metaTitle): void;
171
175 public function setMetaDescription(?LocalizedString $metaDescription): void;
176
180 public function setMetaKeywords(?LocalizedString $metaKeywords): void;
181
185 public function setAssets(?AssetCollection $assets): void;
186
190 public function setCustom(?Custom $custom): void;
191}
setMetaDescription(?LocalizedString $metaDescription)
setMetaKeywords(?LocalizedString $metaKeywords)