Interface OrderStoreSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated after a successful Set Store update action.
Example to create an instance using the builder pattern
OrderStoreSetMessagePayload orderStoreSetMessagePayload = OrderStoreSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderStoreSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderStoreSetMessagePayloadbuilder
(OrderStoreSetMessagePayload template) create builder for OrderStoreSetMessagePayload instancestatic OrderStoreSetMessagePayload
deepCopy
(OrderStoreSetMessagePayload template) factory method to create a deep copy of OrderStoreSetMessagePayload@Valid StoreKeyReference
getStore()
Store that was set.static OrderStoreSetMessagePayload
of()
factory methodstatic OrderStoreSetMessagePayload
of
(OrderStoreSetMessagePayload template) factory method to create a shallow copy OrderStoreSetMessagePayloadvoid
setStore
(StoreKeyReference store) Store that was set.static com.fasterxml.jackson.core.type.TypeReference<OrderStoreSetMessagePayload>
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_STORE_SET
discriminator value for OrderStoreSetMessagePayload- See Also:
-
-
Method Details
-
getStore
Store that was set.
- Returns:
- store
-
setStore
Store that was set.
- Parameters:
store
- value to be set
-
of
factory method- Returns:
- instance of OrderStoreSetMessagePayload
-
of
factory method to create a shallow copy OrderStoreSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderStoreSetMessagePayload deepCopy(@Nullable OrderStoreSetMessagePayload template) factory method to create a deep copy of OrderStoreSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderStoreSetMessagePayload- Returns:
- builder
-
builder
create builder for OrderStoreSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderStoreSetMessagePayload
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
-