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 TypeMethodDescriptioncopyDeep()static ShoppingListMessagePayloaddeepCopy(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> Taccessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Method Details
-
copyDeep
ShoppingListMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
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
-