Class ProductSelectionVariantSelectionChangedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ProductSelectionVariantSelectionChangedMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,MessagePayloadMixin
,ProductSelectionVariantSelectionChangedMessagePayload
,io.vrap.rmf.base.client.ModelBase
public class ProductSelectionVariantSelectionChangedMessagePayloadImpl
extends Object
implements ProductSelectionVariantSelectionChangedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Set Variant Selection update action.
-
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.api.models.message.ProductSelectionVariantSelectionChangedMessagePayload
PRODUCT_SELECTION_VARIANT_SELECTION_CHANGED
-
Constructor Summary
ConstructorDescriptioncreate empty instance -
Method Summary
Modifier and TypeMethodDescriptionboolean
Product Variant Selection after the Set Variant Selection update action.Product Variant Selection before the Set Variant Selection update action.Product for which the Product Variant Selection changed.getType()
int
hashCode()
void
setNewVariantSelection
(ProductVariantSelection newVariantSelection) Product Variant Selection after the Set Variant Selection update action.void
setOldVariantSelection
(ProductVariantSelection oldVariantSelection) Product Variant Selection before the Set Variant Selection update action.void
setProduct
(ProductReference product) Product for which the Product Variant Selection changed.toString()
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.ProductSelectionVariantSelectionChangedMessagePayload
withProductSelectionVariantSelectionChangedMessagePayload
-
Constructor Details
-
ProductSelectionVariantSelectionChangedMessagePayloadImpl
public ProductSelectionVariantSelectionChangedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getProduct
Product for which the Product Variant Selection changed.
- Specified by:
getProduct
in interfaceProductSelectionVariantSelectionChangedMessagePayload
- Returns:
- product
-
getOldVariantSelection
Product Variant Selection before the Set Variant Selection update action.
- Specified by:
getOldVariantSelection
in interfaceProductSelectionVariantSelectionChangedMessagePayload
- Returns:
- oldVariantSelection
-
getNewVariantSelection
Product Variant Selection after the Set Variant Selection update action.
- Specified by:
getNewVariantSelection
in interfaceProductSelectionVariantSelectionChangedMessagePayload
- Returns:
- newVariantSelection
-
setProduct
Description copied from interface:ProductSelectionVariantSelectionChangedMessagePayload
Product for which the Product Variant Selection changed.
- Specified by:
setProduct
in interfaceProductSelectionVariantSelectionChangedMessagePayload
- Parameters:
product
- value to be set
-
setOldVariantSelection
Description copied from interface:ProductSelectionVariantSelectionChangedMessagePayload
Product Variant Selection before the Set Variant Selection update action.
- Specified by:
setOldVariantSelection
in interfaceProductSelectionVariantSelectionChangedMessagePayload
- Parameters:
oldVariantSelection
- value to be set
-
setNewVariantSelection
Description copied from interface:ProductSelectionVariantSelectionChangedMessagePayload
Product Variant Selection after the Set Variant Selection update action.
- Specified by:
setNewVariantSelection
in interfaceProductSelectionVariantSelectionChangedMessagePayload
- Parameters:
newVariantSelection
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-