commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ProductTailoringDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
16 
18 {
19  public const FIELD_KEY = 'key';
20  public const FIELD_STORE = 'store';
21  public const FIELD_PRODUCT = 'product';
22  public const FIELD_NAME = 'name';
23  public const FIELD_DESCRIPTION = 'description';
24  public const FIELD_META_TITLE = 'metaTitle';
25  public const FIELD_META_DESCRIPTION = 'metaDescription';
26  public const FIELD_META_KEYWORDS = 'metaKeywords';
27  public const FIELD_SLUG = 'slug';
28  public const FIELD_PUBLISH = 'publish';
29  public const FIELD_VARIANTS = 'variants';
30 
37  public function getKey();
38 
45  public function getStore();
46 
53  public function getProduct();
54 
61  public function getName();
62 
69  public function getDescription();
70 
77  public function getMetaTitle();
78 
85  public function getMetaDescription();
86 
93  public function getMetaKeywords();
94 
102  public function getSlug();
103 
110  public function getPublish();
111 
118  public function getVariants();
119 
123  public function setKey(?string $key): void;
124 
128  public function setStore(?StoreResourceIdentifier $store): void;
129 
133  public function setProduct(?ProductResourceIdentifier $product): void;
134 
138  public function setName(?LocalizedString $name): void;
139 
143  public function setDescription(?LocalizedString $description): void;
144 
148  public function setMetaTitle(?LocalizedString $metaTitle): void;
149 
153  public function setMetaDescription(?LocalizedString $metaDescription): void;
154 
158  public function setMetaKeywords(?LocalizedString $metaKeywords): void;
159 
163  public function setSlug(?LocalizedString $slug): void;
164 
168  public function setPublish(?bool $publish): void;
169 
173  public function setVariants(?ProductVariantTailoringDraftCollection $variants): void;
174 }
setVariants(?ProductVariantTailoringDraftCollection $variants)