Interface MyQuoteUpdateAction

All Superinterfaces:
ResourceUpdateAction<MyQuoteUpdateAction>
All Known Subinterfaces:
MyQuoteChangeMyQuoteStateAction

public interface MyQuoteUpdateAction extends ResourceUpdateAction<MyQuoteUpdateAction>
MyQuoteUpdateAction
Example to create a subtype instance using the builder pattern

     MyQuoteUpdateAction myQuoteUpdateAction = MyQuoteUpdateAction.changeMyQuoteStateBuilder()
             quoteState(MyQuoteState.DECLINED)
             .build()
 
  • Method Details

    • getAction

      @NotNull @NotNull String getAction()
      Specified by:
      getAction in interface ResourceUpdateAction<MyQuoteUpdateAction>
      Returns:
      action
    • deepCopy

      @Nullable static MyQuoteUpdateAction deepCopy(@Nullable MyQuoteUpdateAction template)
      factory method to create a deep copy of MyQuoteUpdateAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • changeMyQuoteStateBuilder

      static MyQuoteChangeMyQuoteStateActionBuilder changeMyQuoteStateBuilder()
      builder for changeMyQuoteState subtype
      Returns:
      builder
    • withMyQuoteUpdateAction

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