Interface OrderBusinessUnitSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin,OrderMessagePayload
Generated after a successful Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.
Example to create an instance using the builder pattern
OrderBusinessUnitSetMessagePayload orderBusinessUnitSetMessagePayload = OrderBusinessUnitSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderBusinessUnitSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderBusinessUnitSetMessagePayloadbuilder(OrderBusinessUnitSetMessagePayload template) create builder for OrderBusinessUnitSetMessagePayload instancecopyDeep()deepCopy(OrderBusinessUnitSetMessagePayload template) factory method to create a deep copy of OrderBusinessUnitSetMessagePayload@Valid BusinessUnitKeyReferenceBusinessUnit on the Order after the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.@Valid BusinessUnitKeyReferenceBusinessUnit on the Order before the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.of()factory methodof(OrderBusinessUnitSetMessagePayload template) factory method to create a shallow copy OrderBusinessUnitSetMessagePayloadvoidsetBusinessUnit(BusinessUnitKeyReference businessUnit) BusinessUnit on the Order after the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.voidsetOldbusinessUnit(BusinessUnitKeyReference oldbusinessUnit) BusinessUnit on the Order before the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.static com.fasterxml.jackson.core.type.TypeReference<OrderBusinessUnitSetMessagePayload>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
asMethods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Field Details
-
ORDER_BUSINESS_UNIT_SET
discriminator value for OrderBusinessUnitSetMessagePayload- See Also:
-
-
Method Details
-
getBusinessUnit
BusinessUnit on the Order after the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.
- Returns:
- businessUnit
-
getOldbusinessUnit
BusinessUnit on the Order before the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.
- Returns:
- oldbusinessUnit
-
setBusinessUnit
BusinessUnit on the Order after the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.
- Parameters:
businessUnit- value to be set
-
setOldbusinessUnit
BusinessUnit on the Order before the Set Business Unit update action on Orders or Set Business Unit update action on Order Edits.
- Parameters:
oldbusinessUnit- value to be set
-
of
factory method- Returns:
- instance of OrderBusinessUnitSetMessagePayload
-
of
factory method to create a shallow copy OrderBusinessUnitSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderBusinessUnitSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload- Specified by:
copyDeepin interfaceOrderMessagePayload
-
deepCopy
@Nullable static OrderBusinessUnitSetMessagePayload deepCopy(@Nullable OrderBusinessUnitSetMessagePayload template) factory method to create a deep copy of OrderBusinessUnitSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderBusinessUnitSetMessagePayload- Returns:
- builder
-
builder
static OrderBusinessUnitSetMessagePayloadBuilder builder(OrderBusinessUnitSetMessagePayload template) create builder for OrderBusinessUnitSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderBusinessUnitSetMessagePayload
default <T> T withOrderBusinessUnitSetMessagePayload(Function<OrderBusinessUnitSetMessagePayload, 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<OrderBusinessUnitSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-