Interface ShoppingListSetStoreAction

All Superinterfaces:
ResourceUpdateAction<ShoppingListUpdateAction>, ShoppingListUpdateAction

public interface ShoppingListSetStoreAction extends ShoppingListUpdateAction
ShoppingListSetStoreAction
Example to create an instance using the builder pattern

     ShoppingListSetStoreAction shoppingListSetStoreAction = ShoppingListSetStoreAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getStore

      @Valid @Valid StoreResourceIdentifier getStore()

      The Store the ShoppingList should be assigned to. If empty, any existing value will be removed.

      Returns:
      store
    • setStore

      void setStore(StoreResourceIdentifier store)

      The Store the ShoppingList should be assigned to. If empty, any existing value will be removed.

      Parameters:
      store - value to be set
    • of

      factory method
      Returns:
      instance of ShoppingListSetStoreAction
    • of

      factory method to create a shallow copy ShoppingListSetStoreAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      builder factory method for ShoppingListSetStoreAction
      Returns:
      builder
    • builder

      create builder for ShoppingListSetStoreAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withShoppingListSetStoreAction

      default <T> T withShoppingListSetStoreAction(Function<ShoppingListSetStoreAction,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<ShoppingListSetStoreAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference