Interface OrderSetReturnInfoAction

All Superinterfaces:
OrderUpdateAction, ResourceUpdateAction<OrderUpdateAction>

public interface OrderSetReturnInfoAction extends OrderUpdateAction

Produces the Return Info Set Message.


Example to create an instance using the builder pattern

     OrderSetReturnInfoAction orderSetReturnInfoAction = OrderSetReturnInfoAction.builder()
             .build()
 
  • Field Details

    • SET_RETURN_INFO

      static final String SET_RETURN_INFO
      discriminator value for OrderSetReturnInfoAction
      See Also:
  • Method Details

    • getItems

      @Valid @Valid List<ReturnInfoDraft> getItems()

      Value to set. If empty, any existing value is removed.

      Returns:
      items
    • setItems

      void setItems(ReturnInfoDraft... items)

      Value to set. If empty, any existing value is removed.

      Parameters:
      items - values to be set
    • setItems

      void setItems(List<ReturnInfoDraft> items)

      Value to set. If empty, any existing value is removed.

      Parameters:
      items - values to be set
    • of

      factory method
      Returns:
      instance of OrderSetReturnInfoAction
    • of

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

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

      builder factory method for OrderSetReturnInfoAction
      Returns:
      builder
    • builder

      create builder for OrderSetReturnInfoAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withOrderSetReturnInfoAction

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