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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyQuoteRequestCancelAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyQuoteRequestCancelActionbuilder
(MyQuoteRequestCancelAction template) create builder for MyQuoteRequestCancelAction instancestatic MyQuoteRequestCancelAction
deepCopy
(MyQuoteRequestCancelAction template) factory method to create a deep copy of MyQuoteRequestCancelActionstatic MyQuoteRequestCancelAction
of()
factory methodstatic MyQuoteRequestCancelAction
of
(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> T
accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyQuoteRequestUpdateAction
getAction, withMyQuoteRequestUpdateAction
Methods 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
-
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
-