Class ProductVariantKeyReferenceImpl
java.lang.Object
com.commercetools.importapi.models.common.ProductVariantKeyReferenceImpl
- All Implemented Interfaces:
KeyReference
,ProductVariantKeyReference
,io.vrap.rmf.base.client.ModelBase
public class ProductVariantKeyReferenceImpl
extends Object
implements ProductVariantKeyReference, io.vrap.rmf.base.client.ModelBase
References a product variant by key.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.common.ProductVariantKeyReference
PRODUCT_VARIANT
-
Constructor Summary
-
Method Summary
Methods inherited from interface com.commercetools.importapi.models.common.KeyReference
withKeyReference
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.common.ProductVariantKeyReference
withProductVariantKeyReference
-
Constructor Details
-
ProductVariantKeyReferenceImpl
public ProductVariantKeyReferenceImpl()create empty instance
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceKeyReference
- Returns:
- key
-
getTypeId
The type of the referenced resource.
- Specified by:
getTypeId
in interfaceKeyReference
- Returns:
- typeId
-
setKey
Description copied from interface:KeyReference
set key- Specified by:
setKey
in interfaceKeyReference
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-