Interface QuoteCreatedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Create Quote request.
Example to create an instance using the builder pattern
QuoteCreatedMessagePayload quoteCreatedMessagePayload = QuoteCreatedMessagePayload.builder()
.quote(quoteBuilder -> quoteBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for QuoteCreatedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for QuoteCreatedMessagePayloadbuilder
(QuoteCreatedMessagePayload template) create builder for QuoteCreatedMessagePayload instancestatic QuoteCreatedMessagePayload
deepCopy
(QuoteCreatedMessagePayload template) factory method to create a deep copy of QuoteCreatedMessagePayload@NotNull @Valid Quote
getQuote()
Quote that was created.static QuoteCreatedMessagePayload
of()
factory methodstatic QuoteCreatedMessagePayload
of
(QuoteCreatedMessagePayload template) factory method to create a shallow copy QuoteCreatedMessagePayloadvoid
Quote that was created.static com.fasterxml.jackson.core.type.TypeReference<QuoteCreatedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
QUOTE_CREATED
discriminator value for QuoteCreatedMessagePayload- See Also:
-
-
Method Details
-
getQuote
Quote that was created.
- Returns:
- quote
-
setQuote
Quote that was created.
- Parameters:
quote
- value to be set
-
of
factory method- Returns:
- instance of QuoteCreatedMessagePayload
-
of
factory method to create a shallow copy QuoteCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of QuoteCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QuoteCreatedMessagePayload- Returns:
- builder
-
builder
create builder for QuoteCreatedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withQuoteCreatedMessagePayload
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
-