Interface CustomerShippingAddressRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Remove Shipping Address ID update action.
Example to create an instance using the builder pattern
CustomerShippingAddressRemovedMessagePayload customerShippingAddressRemovedMessagePayload = CustomerShippingAddressRemovedMessagePayload.builder()
.address(addressBuilder -> addressBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerShippingAddressRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerShippingAddressRemovedMessagePayloadcreate builder for CustomerShippingAddressRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of CustomerShippingAddressRemovedMessagePayload@NotNull @Valid AddressThe address that was removed from the CustomershippingAddressIds.of()factory methodfactory method to create a shallow copy CustomerShippingAddressRemovedMessagePayloadvoidsetAddress(Address address) The address that was removed from the CustomershippingAddressIds.static com.fasterxml.jackson.core.type.TypeReference<CustomerShippingAddressRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomerShippingAddressRemovedMessagePayload(Function<CustomerShippingAddressRemovedMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
CUSTOMER_SHIPPING_ADDRESS_REMOVED
discriminator value for CustomerShippingAddressRemovedMessagePayload- See Also:
-
-
Method Details
-
getAddress
The address that was removed from the Customer
shippingAddressIds.- Returns:
- address
-
setAddress
The address that was removed from the Customer
shippingAddressIds.- Parameters:
address- value to be set
-
of
factory method- Returns:
- instance of CustomerShippingAddressRemovedMessagePayload
-
of
static CustomerShippingAddressRemovedMessagePayload of(CustomerShippingAddressRemovedMessagePayload template) factory method to create a shallow copy CustomerShippingAddressRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerShippingAddressRemovedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static CustomerShippingAddressRemovedMessagePayload deepCopy(@Nullable CustomerShippingAddressRemovedMessagePayload template) factory method to create a deep copy of CustomerShippingAddressRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerShippingAddressRemovedMessagePayload- Returns:
- builder
-
builder
static CustomerShippingAddressRemovedMessagePayloadBuilder builder(CustomerShippingAddressRemovedMessagePayload template) create builder for CustomerShippingAddressRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerShippingAddressRemovedMessagePayload
default <T> T withCustomerShippingAddressRemovedMessagePayload(Function<CustomerShippingAddressRemovedMessagePayload, 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<CustomerShippingAddressRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-