commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Productvariants
ProductVariantImport.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Productvariants
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Common\AssetCollection
;
14
use
Commercetools\Import\Models\Common\ImageCollection
;
15
use
Commercetools\Import\Models\Common\ImportResource
;
16
use
Commercetools\Import\Models\Common\ProductKeyReference
;
17
18
interface
ProductVariantImport
extends
ImportResource
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Common\AssetCollection
Definition:
AssetCollection.php:22
Commercetools\Import\Models\Common\ImageCollection
Definition:
ImageCollection.php:22
Commercetools\Import\Models\Productvariants\AttributeCollection
Definition:
AttributeCollection.php:26
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Common\ImportResource
Definition:
ImportResource.php:26
Commercetools\Import\Models\Common\ProductKeyReference
Definition:
ProductKeyReference.php:15
Commercetools\Import\Models\Productvariants\ProductVariantImport
Definition:
ProductVariantImport.php:19
Commercetools\Import\Models\Productvariants\ProductVariantImport\getImages
getImages()
Commercetools\Import\Models\Productvariants\ProductVariantImport\setSku
setSku(?string $sku)
Commercetools\Import\Models\Productvariants\ProductVariantImport\getIsMasterVariant
getIsMasterVariant()
Commercetools\Import\Models\Productvariants\ProductVariantImport\FIELD_ASSETS
const FIELD_ASSETS
Definition:
ProductVariantImport.php:24
Commercetools\Import\Models\Productvariants\ProductVariantImport\getSku
getSku()
Commercetools\Import\Models\Productvariants\ProductVariantImport\FIELD_IMAGES
const FIELD_IMAGES
Definition:
ProductVariantImport.php:23
Commercetools\Import\Models\Productvariants\ProductVariantImport\getAttributes
getAttributes()
Commercetools\Import\Models\Productvariants\ProductVariantImport\getKey
getKey()
Commercetools\Import\Models\Productvariants\ProductVariantImport\setAssets
setAssets(?AssetCollection $assets)
Commercetools\Import\Models\Productvariants\ProductVariantImport\FIELD_SKU
const FIELD_SKU
Definition:
ProductVariantImport.php:20
Commercetools\Import\Models\Productvariants\ProductVariantImport\FIELD_ATTRIBUTES
const FIELD_ATTRIBUTES
Definition:
ProductVariantImport.php:22
Commercetools\Import\Models\Productvariants\ProductVariantImport\getAssets
getAssets()
Commercetools\Import\Models\Productvariants\ProductVariantImport\setAttributes
setAttributes(?AttributeCollection $attributes)
Commercetools\Import\Models\Productvariants\ProductVariantImport\FIELD_IS_MASTER_VARIANT
const FIELD_IS_MASTER_VARIANT
Definition:
ProductVariantImport.php:21
Commercetools\Import\Models\Productvariants\ProductVariantImport\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
ProductVariantImport.php:26
Commercetools\Import\Models\Productvariants\ProductVariantImport\getProduct
getProduct()
Commercetools\Import\Models\Productvariants\ProductVariantImport\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductVariantImport.php:25
Commercetools\Import\Models\Productvariants\ProductVariantImport\setStaged
setStaged(?bool $staged)
Commercetools\Import\Models\Productvariants\ProductVariantImport\setProduct
setProduct(?ProductKeyReference $product)
Commercetools\Import\Models\Productvariants\ProductVariantImport\setImages
setImages(?ImageCollection $images)
Commercetools\Import\Models\Productvariants\ProductVariantImport\setIsMasterVariant
setIsMasterVariant(?bool $isMasterVariant)
Commercetools\Import\Models\Productvariants\ProductVariantImport\setKey
setKey(?string $key)
Commercetools\Import\Models\Productvariants\ProductVariantImport\getStaged
getStaged()
Commercetools\Import\Models\Productvariants
Definition:
Attribute.php:9
Generated by
1.9.1