Package com.commercetools.api.models.me
Interface MyQuoteRequestCancelAction
- All Superinterfaces:
MyQuoteRequestUpdateAction,ResourceUpdateAction<MyQuoteRequestUpdateAction>
Transitions the quoteRequestState of the Quote Request to Cancelled. Can only be used when the Quote Request is in state Submitted.
Example to create an instance using the builder pattern
MyQuoteRequestCancelAction myQuoteRequestCancelAction = MyQuoteRequestCancelAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for MyQuoteRequestCancelAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for MyQuoteRequestCancelActionbuilder(MyQuoteRequestCancelAction template) create builder for MyQuoteRequestCancelAction instancecopyDeep()static MyQuoteRequestCancelActiondeepCopy(MyQuoteRequestCancelAction template) factory method to create a deep copy of MyQuoteRequestCancelActionstatic MyQuoteRequestCancelActionof()factory methodstatic MyQuoteRequestCancelActionof(MyQuoteRequestCancelAction template) factory method to create a shallow copy MyQuoteRequestCancelActionstatic com.fasterxml.jackson.core.type.TypeReference<MyQuoteRequestCancelAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.me.MyQuoteRequestUpdateAction
getAction, withMyQuoteRequestUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CANCEL_QUOTE_REQUEST
discriminator value for MyQuoteRequestCancelAction- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of MyQuoteRequestCancelAction
-
of
factory method to create a shallow copy MyQuoteRequestCancelAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
MyQuoteRequestCancelAction copyDeep()- Specified by:
copyDeepin interfaceMyQuoteRequestUpdateAction
-
deepCopy
factory method to create a deep copy of MyQuoteRequestCancelAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyQuoteRequestCancelAction- Returns:
- builder
-
builder
create builder for MyQuoteRequestCancelAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withMyQuoteRequestCancelAction
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
-