Interface OrderShippingAddressSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin,OrderMessagePayload
Generated after a successful Set Shipping Address update action.
Example to create an instance using the builder pattern
OrderShippingAddressSetMessagePayload orderShippingAddressSetMessagePayload = OrderShippingAddressSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderShippingAddressSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderShippingAddressSetMessagePayloadbuilder(OrderShippingAddressSetMessagePayload template) create builder for OrderShippingAddressSetMessagePayload instancecopyDeep()factory method to create a deep copy of OrderShippingAddressSetMessagePayload@Valid AddressShipping address on the Order after the Set Shipping Address update action.@Valid AddressShipping address on the Order before the Set Shipping Address update action.of()factory methodof(OrderShippingAddressSetMessagePayload template) factory method to create a shallow copy OrderShippingAddressSetMessagePayloadvoidsetAddress(Address address) Shipping address on the Order after the Set Shipping Address update action.voidsetOldAddress(Address oldAddress) Shipping address on the Order before the Set Shipping Address update action.static com.fasterxml.jackson.core.type.TypeReference<OrderShippingAddressSetMessagePayload>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_SHIPPING_ADDRESS_SET
discriminator value for OrderShippingAddressSetMessagePayload- See Also:
-
-
Method Details
-
getAddress
Shipping address on the Order after the Set Shipping Address update action.
- Returns:
- address
-
getOldAddress
Shipping address on the Order before the Set Shipping Address update action.
- Returns:
- oldAddress
-
setAddress
Shipping address on the Order after the Set Shipping Address update action.
- Parameters:
address- value to be set
-
setOldAddress
Shipping address on the Order before the Set Shipping Address update action.
- Parameters:
oldAddress- value to be set
-
of
factory method- Returns:
- instance of OrderShippingAddressSetMessagePayload
-
of
factory method to create a shallow copy OrderShippingAddressSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderShippingAddressSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload- Specified by:
copyDeepin interfaceOrderMessagePayload
-
deepCopy
@Nullable static OrderShippingAddressSetMessagePayload deepCopy(@Nullable OrderShippingAddressSetMessagePayload template) factory method to create a deep copy of OrderShippingAddressSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderShippingAddressSetMessagePayload- Returns:
- builder
-
builder
static OrderShippingAddressSetMessagePayloadBuilder builder(OrderShippingAddressSetMessagePayload template) create builder for OrderShippingAddressSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderShippingAddressSetMessagePayload
default <T> T withOrderShippingAddressSetMessagePayload(Function<OrderShippingAddressSetMessagePayload, 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<OrderShippingAddressSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-