Interface QuoteChangeQuoteStateAction

All Superinterfaces:
QuoteUpdateAction, ResourceUpdateAction<QuoteUpdateAction>

public interface QuoteChangeQuoteStateAction extends QuoteUpdateAction
QuoteChangeQuoteStateAction
Example to create an instance using the builder pattern

     QuoteChangeQuoteStateAction quoteChangeQuoteStateAction = QuoteChangeQuoteStateAction.builder()
             .quoteState(QuoteState.PENDING)
             .build()
 
  • Field Details

    • CHANGE_QUOTE_STATE

      static final String CHANGE_QUOTE_STATE
      discriminator value for QuoteChangeQuoteStateAction
      See Also:
  • Method Details

    • getQuoteState

      @NotNull @NotNull QuoteState getQuoteState()

      New state to be set for the Quote, except DeclinedForRenegotiation. The DeclinedForRenegotiation state can be set only when performing a renegotiation request.

      Returns:
      quoteState
    • setQuoteState

      void setQuoteState(QuoteState quoteState)

      New state to be set for the Quote, except DeclinedForRenegotiation. The DeclinedForRenegotiation state can be set only when performing a renegotiation request.

      Parameters:
      quoteState - value to be set
    • of

      factory method
      Returns:
      instance of QuoteChangeQuoteStateAction
    • of

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

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

      builder factory method for QuoteChangeQuoteStateAction
      Returns:
      builder
    • builder

      create builder for QuoteChangeQuoteStateAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withQuoteChangeQuoteStateAction

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