Interface OrderEditAppliedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated after successfully applying an OrderEdit.
Example to create an instance using the builder pattern
OrderEditAppliedMessagePayload orderEditAppliedMessagePayload = OrderEditAppliedMessagePayload.builder()
.edit(editBuilder -> editBuilder)
.result(resultBuilder -> resultBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderEditAppliedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderEditAppliedMessagePayloadbuilder
(OrderEditAppliedMessagePayload template) create builder for OrderEditAppliedMessagePayload instancedeepCopy
(OrderEditAppliedMessagePayload template) factory method to create a deep copy of OrderEditAppliedMessagePayload@NotNull @Valid OrderEdit
getEdit()
OrderEdit that was applied.@NotNull @Valid OrderEditApplied
Information about a successfully applied OrderEdit.of()
factory methodof
(OrderEditAppliedMessagePayload template) factory method to create a shallow copy OrderEditAppliedMessagePayloadvoid
OrderEdit that was applied.void
setResult
(OrderEditApplied result) Information about a successfully applied OrderEdit.static com.fasterxml.jackson.core.type.TypeReference<OrderEditAppliedMessagePayload>
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
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Field Details
-
ORDER_EDIT_APPLIED
discriminator value for OrderEditAppliedMessagePayload- See Also:
-
-
Method Details
-
getEdit
OrderEdit that was applied.
- Returns:
- edit
-
getResult
Information about a successfully applied OrderEdit.
- Returns:
- result
-
setEdit
OrderEdit that was applied.
- Parameters:
edit
- value to be set
-
setResult
Information about a successfully applied OrderEdit.
- Parameters:
result
- value to be set
-
of
factory method- Returns:
- instance of OrderEditAppliedMessagePayload
-
of
factory method to create a shallow copy OrderEditAppliedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderEditAppliedMessagePayload deepCopy(@Nullable OrderEditAppliedMessagePayload template) factory method to create a deep copy of OrderEditAppliedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEditAppliedMessagePayload- Returns:
- builder
-
builder
create builder for OrderEditAppliedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEditAppliedMessagePayload
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<OrderEditAppliedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-