Class ProductVariantDraftImportImpl
java.lang.Object
com.commercetools.importapi.models.productdrafts.ProductVariantDraftImportImpl
- All Implemented Interfaces:
ProductVariantDraftImport
,io.vrap.rmf.base.client.ModelBase
public class ProductVariantDraftImportImpl
extends Object
implements ProductVariantDraftImport, io.vrap.rmf.base.client.ModelBase
The representation of a Product Variant Draft for the import purpose.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
getSku()
int
hashCode()
void
set assetsvoid
set assetsvoid
setAttributes
(Attribute... attributes) set attributesvoid
setAttributes
(List<Attribute> attributes) set attributesvoid
set imagesvoid
set imagesvoid
set keyvoid
setPrices
(PriceDraftImport... prices) set pricesvoid
setPrices
(List<PriceDraftImport> prices) set pricesvoid
set skuMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.productdrafts.ProductVariantDraftImport
withProductVariantDraftImport
-
Constructor Details
-
ProductVariantDraftImportImpl
public ProductVariantDraftImportImpl()create empty instance
-
-
Method Details
-
getSku
- Specified by:
getSku
in interfaceProductVariantDraftImport
- Returns:
- sku
-
getKey
- Specified by:
getKey
in interfaceProductVariantDraftImport
- Returns:
- key
-
getPrices
- Specified by:
getPrices
in interfaceProductVariantDraftImport
- Returns:
- prices
-
getAttributes
- Specified by:
getAttributes
in interfaceProductVariantDraftImport
- Returns:
- attributes
-
getImages
- Specified by:
getImages
in interfaceProductVariantDraftImport
- Returns:
- images
-
getAssets
- Specified by:
getAssets
in interfaceProductVariantDraftImport
- Returns:
- assets
-
setSku
Description copied from interface:ProductVariantDraftImport
set sku- Specified by:
setSku
in interfaceProductVariantDraftImport
- Parameters:
sku
- value to be set
-
setKey
Description copied from interface:ProductVariantDraftImport
set key- Specified by:
setKey
in interfaceProductVariantDraftImport
- Parameters:
key
- value to be set
-
setPrices
Description copied from interface:ProductVariantDraftImport
set prices- Specified by:
setPrices
in interfaceProductVariantDraftImport
- Parameters:
prices
- values to be set
-
setPrices
Description copied from interface:ProductVariantDraftImport
set prices- Specified by:
setPrices
in interfaceProductVariantDraftImport
- Parameters:
prices
- values to be set
-
setAttributes
Description copied from interface:ProductVariantDraftImport
set attributes- Specified by:
setAttributes
in interfaceProductVariantDraftImport
- Parameters:
attributes
- values to be set
-
setAttributes
Description copied from interface:ProductVariantDraftImport
set attributes- Specified by:
setAttributes
in interfaceProductVariantDraftImport
- Parameters:
attributes
- values to be set
-
setImages
Description copied from interface:ProductVariantDraftImport
set images- Specified by:
setImages
in interfaceProductVariantDraftImport
- Parameters:
images
- values to be set
-
setImages
Description copied from interface:ProductVariantDraftImport
set images- Specified by:
setImages
in interfaceProductVariantDraftImport
- Parameters:
images
- values to be set
-
setAssets
Description copied from interface:ProductVariantDraftImport
set assets- Specified by:
setAssets
in interfaceProductVariantDraftImport
- Parameters:
assets
- values to be set
-
setAssets
Description copied from interface:ProductVariantDraftImport
set assets- Specified by:
setAssets
in interfaceProductVariantDraftImport
- Parameters:
assets
- values to be set
-
equals
-
hashCode
public int hashCode()
-