Interface QuoteChangeQuoteStateAction
- All Superinterfaces:
QuoteUpdateAction,ResourceUpdateAction<QuoteUpdateAction>
QuoteChangeQuoteStateAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QuoteChangeQuoteStateAction quoteChangeQuoteStateAction = QuoteChangeQuoteStateAction.builder()
.quoteState(QuoteState.PENDING)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for QuoteChangeQuoteStateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for QuoteChangeQuoteStateActionbuilder(QuoteChangeQuoteStateAction template) create builder for QuoteChangeQuoteStateAction instancecopyDeep()static QuoteChangeQuoteStateActiondeepCopy(QuoteChangeQuoteStateAction template) factory method to create a deep copy of QuoteChangeQuoteStateAction@NotNull QuoteStateNew state to be set for the Quote, exceptDeclinedForRenegotiation.static QuoteChangeQuoteStateActionof()factory methodstatic QuoteChangeQuoteStateActionof(QuoteChangeQuoteStateAction template) factory method to create a shallow copy QuoteChangeQuoteStateActionvoidsetQuoteState(QuoteState quoteState) New state to be set for the Quote, exceptDeclinedForRenegotiation.static com.fasterxml.jackson.core.type.TypeReference<QuoteChangeQuoteStateAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.quote.QuoteUpdateAction
getAction, withQuoteUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_QUOTE_STATE
discriminator value for QuoteChangeQuoteStateAction- See Also:
-
-
Method Details
-
getQuoteState
New state to be set for the Quote, except
DeclinedForRenegotiation. TheDeclinedForRenegotiationstate can be set only when performing a renegotiation request.- Returns:
- quoteState
-
setQuoteState
New state to be set for the Quote, except
DeclinedForRenegotiation. TheDeclinedForRenegotiationstate 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
-
copyDeep
QuoteChangeQuoteStateAction copyDeep()- Specified by:
copyDeepin interfaceQuoteUpdateAction
-
deepCopy
@Nullable static QuoteChangeQuoteStateAction deepCopy(@Nullable QuoteChangeQuoteStateAction template) 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
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-