Class ProductRemovedFromCategoryMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ProductRemovedFromCategoryMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,ProductRemovedFromCategoryMessagePayload
,io.vrap.rmf.base.client.ModelBase
public class ProductRemovedFromCategoryMessagePayloadImpl
extends Object
implements ProductRemovedFromCategoryMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Remove from Category 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.ProductRemovedFromCategoryMessagePayload
PRODUCT_REMOVED_FROM_CATEGORY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Category the Product was removed from.Whether the update was only applied to the staged Product Projection.getType()
int
hashCode()
void
setCategory
(CategoryReference category) Category the Product was removed from.void
Whether the update was only applied to the staged Product Projection.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 io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.ProductRemovedFromCategoryMessagePayload
withProductRemovedFromCategoryMessagePayload
-
Constructor Details
-
ProductRemovedFromCategoryMessagePayloadImpl
public ProductRemovedFromCategoryMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getCategory
Category the Product was removed from.
- Specified by:
getCategory
in interfaceProductRemovedFromCategoryMessagePayload
- Returns:
- category
-
getStaged
Whether the update was only applied to the staged Product Projection.
- Specified by:
getStaged
in interfaceProductRemovedFromCategoryMessagePayload
- Returns:
- staged
-
setCategory
Description copied from interface:ProductRemovedFromCategoryMessagePayload
Category the Product was removed from.
- Specified by:
setCategory
in interfaceProductRemovedFromCategoryMessagePayload
- Parameters:
category
- value to be set
-
setStaged
Description copied from interface:ProductRemovedFromCategoryMessagePayload
Whether the update was only applied to the staged Product Projection.
- Specified by:
setStaged
in interfaceProductRemovedFromCategoryMessagePayload
- Parameters:
staged
- value to be set
-
equals
-
hashCode
public int hashCode()
-