Interface ReturnInfoSetMessagePayload

All Superinterfaces:
MessagePayload, MessagePayloadMixin, OrderMessagePayload

public interface ReturnInfoSetMessagePayload extends OrderMessagePayload

Generated after a successful Set ReturnInfo update action on Orders and Order Edits.


Example to create an instance using the builder pattern

     ReturnInfoSetMessagePayload returnInfoSetMessagePayload = ReturnInfoSetMessagePayload.builder()
             .build()
 
  • Field Details

    • RETURN_INFO_SET

      static final String RETURN_INFO_SET
      discriminator value for ReturnInfoSetMessagePayload
      See Also:
  • Method Details

    • getReturnInfo

      @Valid @Valid List<ReturnInfo> getReturnInfo()

      The ReturnInfo that was set on the Order or Order Edit.

      Returns:
      returnInfo
    • setReturnInfo

      void setReturnInfo(ReturnInfo... returnInfo)

      The ReturnInfo that was set on the Order or Order Edit.

      Parameters:
      returnInfo - values to be set
    • setReturnInfo

      void setReturnInfo(List<ReturnInfo> returnInfo)

      The ReturnInfo that was set on the Order or Order Edit.

      Parameters:
      returnInfo - values to be set
    • of

      factory method
      Returns:
      instance of ReturnInfoSetMessagePayload
    • of

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

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

      builder factory method for ReturnInfoSetMessagePayload
      Returns:
      builder
    • builder

      create builder for ReturnInfoSetMessagePayload instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withReturnInfoSetMessagePayload

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