commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ProductVariantImport.php
1 <?php
2 
3 declare(strict_types=1);
10 
17 
19 {
20  public const FIELD_SKU = 'sku';
21  public const FIELD_IS_MASTER_VARIANT = 'isMasterVariant';
22  public const FIELD_ATTRIBUTES = 'attributes';
23  public const FIELD_IMAGES = 'images';
24  public const FIELD_ASSETS = 'assets';
25  public const FIELD_STAGED = 'staged';
26  public const FIELD_PRODUCT = 'product';
27 
34  public function getKey();
35 
42  public function getSku();
43 
53  public function getIsMasterVariant();
54 
62  public function getAttributes();
63 
70  public function getImages();
71 
78  public function getAssets();
79 
89  public function getStaged();
90 
99  public function getProduct();
100 
104  public function setKey(?string $key): void;
105 
109  public function setSku(?string $sku): void;
110 
114  public function setIsMasterVariant(?bool $isMasterVariant): void;
115 
119  public function setAttributes(?AttributeCollection $attributes): void;
120 
124  public function setImages(?ImageCollection $images): void;
125 
129  public function setAssets(?AssetCollection $assets): void;
130 
134  public function setStaged(?bool $staged): void;
135 
139  public function setProduct(?ProductKeyReference $product): void;
140 }