Interface QuoteRequestQuoteRenegotiationAction
- All Superinterfaces:
QuoteUpdateAction
,ResourceUpdateAction<QuoteUpdateAction>
Represents the Buyer requesting renegotiation for a Quote. Valid for Quotes in a Pending
state.
Example to create an instance using the builder pattern
QuoteRequestQuoteRenegotiationAction quoteRequestQuoteRenegotiationAction = QuoteRequestQuoteRenegotiationAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for QuoteRequestQuoteRenegotiationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for QuoteRequestQuoteRenegotiationActionbuilder
(QuoteRequestQuoteRenegotiationAction template) create builder for QuoteRequestQuoteRenegotiationAction instancedeepCopy
(QuoteRequestQuoteRenegotiationAction template) factory method to create a deep copy of QuoteRequestQuoteRenegotiationActionMessage from the Buyer regarding the Quote renegotiation request.of()
factory methodof
(QuoteRequestQuoteRenegotiationAction template) factory method to create a shallow copy QuoteRequestQuoteRenegotiationActionvoid
setBuyerComment
(String buyerComment) Message from the Buyer regarding the Quote renegotiation request.static com.fasterxml.jackson.core.type.TypeReference<QuoteRequestQuoteRenegotiationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.quote.QuoteUpdateAction
getAction, withQuoteUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
REQUEST_QUOTE_RENEGOTIATION
discriminator value for QuoteRequestQuoteRenegotiationAction- See Also:
-
-
Method Details
-
getBuyerComment
String getBuyerComment()Message from the Buyer regarding the Quote renegotiation request.
- Returns:
- buyerComment
-
setBuyerComment
Message from the Buyer regarding the Quote renegotiation request.
- Parameters:
buyerComment
- value to be set
-
of
factory method- Returns:
- instance of QuoteRequestQuoteRenegotiationAction
-
of
factory method to create a shallow copy QuoteRequestQuoteRenegotiationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static QuoteRequestQuoteRenegotiationAction deepCopy(@Nullable QuoteRequestQuoteRenegotiationAction template) factory method to create a deep copy of QuoteRequestQuoteRenegotiationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QuoteRequestQuoteRenegotiationAction- Returns:
- builder
-
builder
static QuoteRequestQuoteRenegotiationActionBuilder builder(QuoteRequestQuoteRenegotiationAction template) create builder for QuoteRequestQuoteRenegotiationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withQuoteRequestQuoteRenegotiationAction
default <T> T withQuoteRequestQuoteRenegotiationAction(Function<QuoteRequestQuoteRenegotiationAction, 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<QuoteRequestQuoteRenegotiationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-