commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ProductImport.php
1<?php
2
3declare(strict_types=1);
10
19
21{
22 public const FIELD_NAME = 'name';
23 public const FIELD_PRODUCT_TYPE = 'productType';
24 public const FIELD_SLUG = 'slug';
25 public const FIELD_DESCRIPTION = 'description';
26 public const FIELD_CATEGORIES = 'categories';
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_TAX_CATEGORY = 'taxCategory';
31 public const FIELD_SEARCH_KEYWORDS = 'searchKeywords';
32 public const FIELD_STATE = 'state';
33 public const FIELD_PUBLISH = 'publish';
34 public const FIELD_PRICE_MODE = 'priceMode';
35
42 public function getKey();
43
50 public function getName();
51
61 public function getProductType();
62
70 public function getSlug();
71
78 public function getDescription();
79
88 public function getCategories();
89
101 public function getMetaTitle();
102
114 public function getMetaDescription();
115
127 public function getMetaKeywords();
128
136 public function getTaxCategory();
137
160 public function getSearchKeywords();
161
169 public function getState();
170
177 public function getPublish();
178
185 public function getPriceMode();
186
190 public function setKey(?string $key): void;
191
195 public function setName(?LocalizedString $name): void;
196
200 public function setProductType(?ProductTypeKeyReference $productType): void;
201
205 public function setSlug(?LocalizedString $slug): void;
206
210 public function setDescription(?LocalizedString $description): void;
211
215 public function setCategories(?CategoryKeyReferenceCollection $categories): void;
216
220 public function setMetaTitle(?LocalizedString $metaTitle): void;
221
225 public function setMetaDescription(?LocalizedString $metaDescription): void;
226
230 public function setMetaKeywords(?LocalizedString $metaKeywords): void;
231
235 public function setTaxCategory(?TaxCategoryKeyReference $taxCategory): void;
236
240 public function setSearchKeywords(?SearchKeywords $searchKeywords): void;
241
245 public function setState(?StateKeyReference $state): void;
246
250 public function setPublish(?bool $publish): void;
251
255 public function setPriceMode(?string $priceMode): void;
256}
setMetaDescription(?LocalizedString $metaDescription)
setSearchKeywords(?SearchKeywords $searchKeywords)
setTaxCategory(?TaxCategoryKeyReference $taxCategory)
setCategories(?CategoryKeyReferenceCollection $categories)
setDescription(?LocalizedString $description)
setProductType(?ProductTypeKeyReference $productType)
setMetaKeywords(?LocalizedString $metaKeywords)