Interface OrderImportedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated after a successful Order Import.
Example to create an instance using the builder pattern
OrderImportedMessagePayload orderImportedMessagePayload = OrderImportedMessagePayload.builder()
.order(orderBuilder -> orderBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderImportedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderImportedMessagePayloadbuilder
(OrderImportedMessagePayload template) create builder for OrderImportedMessagePayload instancestatic OrderImportedMessagePayload
deepCopy
(OrderImportedMessagePayload template) factory method to create a deep copy of OrderImportedMessagePayload@NotNull @Valid Order
getOrder()
Order that was imported.static OrderImportedMessagePayload
of()
factory methodstatic OrderImportedMessagePayload
of
(OrderImportedMessagePayload template) factory method to create a shallow copy OrderImportedMessagePayloadvoid
Order that was imported.static com.fasterxml.jackson.core.type.TypeReference<OrderImportedMessagePayload>
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_IMPORTED
discriminator value for OrderImportedMessagePayload- See Also:
-
-
Method Details
-
getOrder
Order that was imported.
- Returns:
- order
-
setOrder
Order that was imported.
- Parameters:
order
- value to be set
-
of
factory method- Returns:
- instance of OrderImportedMessagePayload
-
of
factory method to create a shallow copy OrderImportedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderImportedMessagePayload deepCopy(@Nullable OrderImportedMessagePayload template) factory method to create a deep copy of OrderImportedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderImportedMessagePayload- Returns:
- builder
-
builder
create builder for OrderImportedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderImportedMessagePayload
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
-