Interface ShoppingListMessagePayload

All Superinterfaces:
MessagePayload, MessagePayloadMixin
All Known Subinterfaces:
ShoppingListLineItemAddedMessagePayload, ShoppingListLineItemRemovedMessagePayload

public interface ShoppingListMessagePayload extends MessagePayload
ShoppingListMessagePayload
Example to create an instance using the builder pattern

     ShoppingListMessagePayload shoppingListMessagePayload = ShoppingListMessagePayload.builder()
             .build()
 
  • Method Details

    • deepCopy

      factory method to create a deep copy of ShoppingListMessagePayload
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • withShoppingListMessagePayload

      default <T> T withShoppingListMessagePayload(Function<ShoppingListMessagePayload,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ShoppingListMessagePayload> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference