Class ChangeValueGiftLineItemChangeValueImpl
java.lang.Object
com.commercetools.history.models.change_value.ChangeValueGiftLineItemChangeValueImpl
- All Implemented Interfaces:
ChangeValueChangeValue,ChangeValueGiftLineItemChangeValue,io.vrap.rmf.base.client.ModelBase
public class ChangeValueGiftLineItemChangeValueImpl
extends Object
implements ChangeValueGiftLineItemChangeValue, io.vrap.rmf.base.client.ModelBase
ChangeValueGiftLineItemChangeValue
-
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.history.models.change_value.ChangeValueGiftLineItemChangeValue
GIFT_LINE_ITEM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChannel with ChannelRoleEnumProductDistribution.Reference to a Product.Channel with ChannelRoleEnumInventorySupply.getType()idof the ProductVariant.inthashCode()voidsetDistributionChannel(Reference distributionChannel) Channel with ChannelRoleEnumProductDistribution.voidsetProduct(Reference product) Reference to a Product.voidsetSupplyChannel(Reference supplyChannel) Channel with ChannelRoleEnumInventorySupply.voidsetVariantId(Integer variantId) idof the ProductVariant.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.commercetools.history.models.change_value.ChangeValueChangeValue
withChangeValueChangeValueMethods inherited from interface com.commercetools.history.models.change_value.ChangeValueGiftLineItemChangeValue
withChangeValueGiftLineItemChangeValueMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ChangeValueGiftLineItemChangeValueImpl
create empty instance
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceChangeValueChangeValue- Specified by:
getTypein interfaceChangeValueGiftLineItemChangeValue- Returns:
- type
-
getProduct
Reference to a Product.
- Specified by:
getProductin interfaceChangeValueGiftLineItemChangeValue- Returns:
- product
-
getVariantId
idof the ProductVariant.- Specified by:
getVariantIdin interfaceChangeValueGiftLineItemChangeValue- Returns:
- variantId
-
getSupplyChannel
Channel with ChannelRoleEnum
InventorySupply.- Specified by:
getSupplyChannelin interfaceChangeValueGiftLineItemChangeValue- Returns:
- supplyChannel
-
getDistributionChannel
Channel with ChannelRoleEnum
ProductDistribution.- Specified by:
getDistributionChannelin interfaceChangeValueGiftLineItemChangeValue- Returns:
- distributionChannel
-
setProduct
Description copied from interface:ChangeValueGiftLineItemChangeValueReference to a Product.
- Specified by:
setProductin interfaceChangeValueGiftLineItemChangeValue- Parameters:
product- value to be set
-
setVariantId
Description copied from interface:ChangeValueGiftLineItemChangeValueidof the ProductVariant.- Specified by:
setVariantIdin interfaceChangeValueGiftLineItemChangeValue- Parameters:
variantId- value to be set
-
setSupplyChannel
Description copied from interface:ChangeValueGiftLineItemChangeValueChannel with ChannelRoleEnum
InventorySupply.- Specified by:
setSupplyChannelin interfaceChangeValueGiftLineItemChangeValue- Parameters:
supplyChannel- value to be set
-
setDistributionChannel
Description copied from interface:ChangeValueGiftLineItemChangeValueChannel with ChannelRoleEnum
ProductDistribution.- Specified by:
setDistributionChannelin interfaceChangeValueGiftLineItemChangeValue- Parameters:
distributionChannel- value to be set
-
equals
-
hashCode
-