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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StagedQuoteCreatedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StagedQuoteCreatedMessagePayloadbuilder(StagedQuoteCreatedMessagePayload template) create builder for StagedQuoteCreatedMessagePayload instancecopyDeep()deepCopy(StagedQuoteCreatedMessagePayload template) factory method to create a deep copy of StagedQuoteCreatedMessagePayload@NotNull @Valid StagedQuoteStaged Quote that was created.of()factory methodof(StagedQuoteCreatedMessagePayload template) factory method to create a shallow copy StagedQuoteCreatedMessagePayloadvoidsetStagedQuote(StagedQuote stagedQuote) Staged Quote that was created.static com.fasterxml.jackson.core.type.TypeReference<StagedQuoteCreatedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods 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
-
copyDeep
StagedQuoteCreatedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
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
-