Interface ShoppingListMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
- All Known Subinterfaces:
ShoppingListLineItemAddedMessagePayload
,ShoppingListLineItemRemovedMessagePayload
ShoppingListMessagePayload
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShoppingListMessagePayload shoppingListMessagePayload = ShoppingListMessagePayload.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShoppingListMessagePayload
deepCopy
(ShoppingListMessagePayload template) factory method to create a deep copy of ShoppingListMessagePayloadstatic com.fasterxml.jackson.core.type.TypeReference<ShoppingListMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Method Details
-
deepCopy
factory method to create a deep copy of ShoppingListMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
withShoppingListMessagePayload
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-