Interface StagedQuoteUpdateAction
- All Superinterfaces:
ResourceUpdateAction<StagedQuoteUpdateAction>
- All Known Subinterfaces:
StagedQuoteChangeStagedQuoteStateAction,StagedQuoteSetCustomFieldAction,StagedQuoteSetCustomTypeAction,StagedQuoteSetSellerCommentAction,StagedQuoteSetValidToAction,StagedQuoteTransitionStateAction
StagedQuoteUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
StagedQuoteUpdateAction stagedQuoteUpdateAction = StagedQuoteUpdateAction.changeStagedQuoteStateBuilder()
stagedQuoteState(StagedQuoteState.IN_PROGRESS)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for changeStagedQuoteState subtypecopyDeep()static StagedQuoteUpdateActiondeepCopy(StagedQuoteUpdateAction template) factory method to create a deep copy of StagedQuoteUpdateAction@NotNull Stringbuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setSellerComment subtypebuilder for setValidTo subtypebuilder for transitionState subtypestatic com.fasterxml.jackson.core.type.TypeReference<StagedQuoteUpdateAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getActionin interfaceResourceUpdateAction<StagedQuoteUpdateAction>- Returns:
- action
-
copyDeep
StagedQuoteUpdateAction copyDeep() -
deepCopy
factory method to create a deep copy of StagedQuoteUpdateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
changeStagedQuoteStateBuilder
builder for changeStagedQuoteState subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setSellerCommentBuilder
builder for setSellerComment subtype- Returns:
- builder
-
setValidToBuilder
builder for setValidTo subtype- Returns:
- builder
-
transitionStateBuilder
builder for transitionState subtype- Returns:
- builder
-
withStagedQuoteUpdateAction
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
-