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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for QuoteChangeQuoteStateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for QuoteChangeQuoteStateActionbuilder
(QuoteChangeQuoteStateAction template) create builder for QuoteChangeQuoteStateAction instancestatic QuoteChangeQuoteStateAction
deepCopy
(QuoteChangeQuoteStateAction template) factory method to create a deep copy of QuoteChangeQuoteStateAction@NotNull QuoteState
New state to be set for the Quote.static QuoteChangeQuoteStateAction
of()
factory methodstatic QuoteChangeQuoteStateAction
of
(QuoteChangeQuoteStateAction template) factory method to create a shallow copy QuoteChangeQuoteStateActionvoid
setQuoteState
(QuoteState quoteState) New state to be set for the Quote.static com.fasterxml.jackson.core.type.TypeReference<QuoteChangeQuoteStateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.quote.QuoteUpdateAction
getAction, withQuoteUpdateAction
Methods 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.
- Returns:
- quoteState
-
setQuoteState
New state to be set for the Quote.
- 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
@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
-