Package com.commercetools.api.models.me
Interface MyQuoteUpdateAction
- All Superinterfaces:
ResourceUpdateAction<MyQuoteUpdateAction>
- All Known Subinterfaces:
MyQuoteChangeMyQuoteStateAction
MyQuoteUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
MyQuoteUpdateAction myQuoteUpdateAction = MyQuoteUpdateAction.changeMyQuoteStateBuilder()
quoteState(MyQuoteState.DECLINED)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for changeMyQuoteState subtypestatic MyQuoteUpdateAction
deepCopy
(MyQuoteUpdateAction template) factory method to create a deep copy of MyQuoteUpdateAction@NotNull String
static com.fasterxml.jackson.core.type.TypeReference<MyQuoteUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withMyQuoteUpdateAction
(Function<MyQuoteUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyQuoteUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of MyQuoteUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
changeMyQuoteStateBuilder
builder for changeMyQuoteState subtype- Returns:
- builder
-
withMyQuoteUpdateAction
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
-