Interface OrderDeletedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated after a successful Delete Order request.
Example to create an instance using the builder pattern
OrderDeletedMessagePayload orderDeletedMessagePayload = OrderDeletedMessagePayload.builder()
.order(orderBuilder -> orderBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderDeletedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderDeletedMessagePayloadbuilder
(OrderDeletedMessagePayload template) create builder for OrderDeletedMessagePayload instancestatic OrderDeletedMessagePayload
deepCopy
(OrderDeletedMessagePayload template) factory method to create a deep copy of OrderDeletedMessagePayload@NotNull @Valid Order
getOrder()
Order that has been deleted.static OrderDeletedMessagePayload
of()
factory methodstatic OrderDeletedMessagePayload
of
(OrderDeletedMessagePayload template) factory method to create a shallow copy OrderDeletedMessagePayloadvoid
Order that has been deleted.static com.fasterxml.jackson.core.type.TypeReference<OrderDeletedMessagePayload>
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_DELETED
discriminator value for OrderDeletedMessagePayload- See Also:
-
-
Method Details
-
getOrder
Order that has been deleted.
- Returns:
- order
-
setOrder
Order that has been deleted.
- Parameters:
order
- value to be set
-
of
factory method- Returns:
- instance of OrderDeletedMessagePayload
-
of
factory method to create a shallow copy OrderDeletedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderDeletedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderDeletedMessagePayload- Returns:
- builder
-
builder
create builder for OrderDeletedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderDeletedMessagePayload
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
-