Class ProductSelectionProductAddedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ProductSelectionProductAddedMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,MessagePayloadMixin
,ProductSelectionProductAddedMessagePayload
,io.vrap.rmf.base.client.ModelBase
public class ProductSelectionProductAddedMessagePayloadImpl
extends Object
implements ProductSelectionProductAddedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Add Product 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.ProductSelectionProductAddedMessagePayload
PRODUCT_SELECTION_PRODUCT_ADDED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Product that was added to the Product Selection.getType()
Product Variant Selection after the Add Product update action.int
hashCode()
void
setProduct
(ProductReference product) Product that was added to the Product Selection.void
setVariantSelection
(ProductVariantSelection variantSelection) Product Variant Selection after the Add Product update action.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
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.ProductSelectionProductAddedMessagePayload
withProductSelectionProductAddedMessagePayload
-
Constructor Details
-
ProductSelectionProductAddedMessagePayloadImpl
public ProductSelectionProductAddedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getProduct
Product that was added to the Product Selection.
- Specified by:
getProduct
in interfaceProductSelectionProductAddedMessagePayload
- Returns:
- product
-
getVariantSelection
Product Variant Selection after the Add Product update action.
- Specified by:
getVariantSelection
in interfaceProductSelectionProductAddedMessagePayload
- Returns:
- variantSelection
-
setProduct
Description copied from interface:ProductSelectionProductAddedMessagePayload
Product that was added to the Product Selection.
- Specified by:
setProduct
in interfaceProductSelectionProductAddedMessagePayload
- Parameters:
product
- value to be set
-
setVariantSelection
Description copied from interface:ProductSelectionProductAddedMessagePayload
Product Variant Selection after the Add Product update action.
- Specified by:
setVariantSelection
in interfaceProductSelectionProductAddedMessagePayload
- Parameters:
variantSelection
- value to be set
-
equals
-
hashCode
public int hashCode()
-