Interface StagedQuoteChangeStagedQuoteStateAction
- All Superinterfaces:
ResourceUpdateAction<StagedQuoteUpdateAction>
,StagedQuoteUpdateAction
- All Known Implementing Classes:
StagedQuoteChangeStagedQuoteStateActionImpl
StagedQuoteChangeStagedQuoteStateAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedQuoteChangeStagedQuoteStateAction stagedQuoteChangeStagedQuoteStateAction = StagedQuoteChangeStagedQuoteStateAction.builder()
.stagedQuoteState(StagedQuoteState.IN_PROGRESS)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StagedQuoteChangeStagedQuoteStateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedQuoteChangeStagedQuoteStateActioncreate builder for StagedQuoteChangeStagedQuoteStateAction instancefactory method to create a deep copy of StagedQuoteChangeStagedQuoteStateAction@NotNull StagedQuoteState
New state to be set for the Staged Quote.of()
factory methodof
(StagedQuoteChangeStagedQuoteStateAction template) factory method to create a shallow copy StagedQuoteChangeStagedQuoteStateActionvoid
setStagedQuoteState
(StagedQuoteState stagedQuoteState) New state to be set for the Staged Quote.static com.fasterxml.jackson.core.type.TypeReference<StagedQuoteChangeStagedQuoteStateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStagedQuoteChangeStagedQuoteStateAction
(Function<StagedQuoteChangeStagedQuoteStateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.staged_quote.StagedQuoteUpdateAction
getAction, withStagedQuoteUpdateAction
-
Field Details
-
CHANGE_STAGED_QUOTE_STATE
discriminator value for StagedQuoteChangeStagedQuoteStateAction- See Also:
-
-
Method Details
-
getStagedQuoteState
New state to be set for the Staged Quote.
- Returns:
- stagedQuoteState
-
setStagedQuoteState
New state to be set for the Staged Quote.
- Parameters:
stagedQuoteState
- value to be set
-
of
factory method- Returns:
- instance of StagedQuoteChangeStagedQuoteStateAction
-
of
factory method to create a shallow copy StagedQuoteChangeStagedQuoteStateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedQuoteChangeStagedQuoteStateAction deepCopy(@Nullable StagedQuoteChangeStagedQuoteStateAction template) factory method to create a deep copy of StagedQuoteChangeStagedQuoteStateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedQuoteChangeStagedQuoteStateAction- Returns:
- builder
-
builder
static StagedQuoteChangeStagedQuoteStateActionBuilder builder(StagedQuoteChangeStagedQuoteStateAction template) create builder for StagedQuoteChangeStagedQuoteStateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedQuoteChangeStagedQuoteStateAction
default <T> T withStagedQuoteChangeStagedQuoteStateAction(Function<StagedQuoteChangeStagedQuoteStateAction, 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<StagedQuoteChangeStagedQuoteStateAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-