Class DiscountCodeKeyReferenceImpl
java.lang.Object
com.commercetools.importapi.models.common.DiscountCodeKeyReferenceImpl
- All Implemented Interfaces:
DiscountCodeKeyReference,KeyReference,io.vrap.rmf.base.client.ModelBase
public class DiscountCodeKeyReferenceImpl
extends Object
implements DiscountCodeKeyReference, io.vrap.rmf.base.client.ModelBase
Used by the Import API to identify a DiscountCode.
-
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.DiscountCodeKeyReference
DISCOUNT_CODE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface com.commercetools.importapi.models.common.DiscountCodeKeyReference
withDiscountCodeKeyReferenceMethods inherited from interface com.commercetools.importapi.models.common.KeyReference
withKeyReferenceMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
DiscountCodeKeyReferenceImpl
public DiscountCodeKeyReferenceImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier of the referenced DiscountCode.
- Specified by:
getKeyin interfaceDiscountCodeKeyReference- Specified by:
getKeyin interfaceKeyReference- Returns:
- key
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeIdin interfaceKeyReference- Returns:
- typeId
-
setKey
Description copied from interface:DiscountCodeKeyReferenceUser-defined unique identifier of the referenced DiscountCode.
- Specified by:
setKeyin interfaceDiscountCodeKeyReference- Specified by:
setKeyin interfaceKeyReference- Parameters:
key- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceDiscountCodeKeyReference- Specified by:
copyDeepin interfaceKeyReference
-