Interface QuoteRequestCreatedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Create QuoteRequest request.
Example to create an instance using the builder pattern
QuoteRequestCreatedMessagePayload quoteRequestCreatedMessagePayload = QuoteRequestCreatedMessagePayload.builder()
.quoteRequest(quoteRequestBuilder -> quoteRequestBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for QuoteRequestCreatedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for QuoteRequestCreatedMessagePayloadbuilder
(QuoteRequestCreatedMessagePayload template) create builder for QuoteRequestCreatedMessagePayload instancedeepCopy
(QuoteRequestCreatedMessagePayload template) factory method to create a deep copy of QuoteRequestCreatedMessagePayload@NotNull @Valid QuoteRequest
Quote Request that was created.of()
factory methodof
(QuoteRequestCreatedMessagePayload template) factory method to create a shallow copy QuoteRequestCreatedMessagePayloadvoid
setQuoteRequest
(QuoteRequest quoteRequest) Quote Request that was created.static com.fasterxml.jackson.core.type.TypeReference<QuoteRequestCreatedMessagePayload>
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_REQUEST_CREATED
discriminator value for QuoteRequestCreatedMessagePayload- See Also:
-
-
Method Details
-
getQuoteRequest
Quote Request that was created.
- Returns:
- quoteRequest
-
setQuoteRequest
Quote Request that was created.
- Parameters:
quoteRequest
- value to be set
-
of
factory method- Returns:
- instance of QuoteRequestCreatedMessagePayload
-
of
factory method to create a shallow copy QuoteRequestCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static QuoteRequestCreatedMessagePayload deepCopy(@Nullable QuoteRequestCreatedMessagePayload template) factory method to create a deep copy of QuoteRequestCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QuoteRequestCreatedMessagePayload- Returns:
- builder
-
builder
create builder for QuoteRequestCreatedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withQuoteRequestCreatedMessagePayload
default <T> T withQuoteRequestCreatedMessagePayload(Function<QuoteRequestCreatedMessagePayload, 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<QuoteRequestCreatedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-