Interface StagedQuoteCreatedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Create StagedQuote request.
Example to create an instance using the builder pattern
StagedQuoteCreatedMessagePayload stagedQuoteCreatedMessagePayload = StagedQuoteCreatedMessagePayload.builder()
.stagedQuote(stagedQuoteBuilder -> stagedQuoteBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StagedQuoteCreatedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedQuoteCreatedMessagePayloadbuilder
(StagedQuoteCreatedMessagePayload template) create builder for StagedQuoteCreatedMessagePayload instancedeepCopy
(StagedQuoteCreatedMessagePayload template) factory method to create a deep copy of StagedQuoteCreatedMessagePayload@NotNull @Valid StagedQuote
Staged Quote that was created.of()
factory methodof
(StagedQuoteCreatedMessagePayload template) factory method to create a shallow copy StagedQuoteCreatedMessagePayloadvoid
setStagedQuote
(StagedQuote stagedQuote) Staged Quote that was created.static com.fasterxml.jackson.core.type.TypeReference<StagedQuoteCreatedMessagePayload>
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
-
STAGED_QUOTE_CREATED
discriminator value for StagedQuoteCreatedMessagePayload- See Also:
-
-
Method Details
-
getStagedQuote
Staged Quote that was created.
- Returns:
- stagedQuote
-
setStagedQuote
Staged Quote that was created.
- Parameters:
stagedQuote
- value to be set
-
of
factory method- Returns:
- instance of StagedQuoteCreatedMessagePayload
-
of
factory method to create a shallow copy StagedQuoteCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedQuoteCreatedMessagePayload deepCopy(@Nullable StagedQuoteCreatedMessagePayload template) factory method to create a deep copy of StagedQuoteCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedQuoteCreatedMessagePayload- Returns:
- builder
-
builder
create builder for StagedQuoteCreatedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedQuoteCreatedMessagePayload
default <T> T withStagedQuoteCreatedMessagePayload(Function<StagedQuoteCreatedMessagePayload, 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<StagedQuoteCreatedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-