Interface CustomerBillingAddressRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Remove Billing Address ID update action.
Example to create an instance using the builder pattern
CustomerBillingAddressRemovedMessagePayload customerBillingAddressRemovedMessagePayload = CustomerBillingAddressRemovedMessagePayload.builder()
.address(addressBuilder -> addressBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerBillingAddressRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerBillingAddressRemovedMessagePayloadcreate builder for CustomerBillingAddressRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of CustomerBillingAddressRemovedMessagePayload@NotNull @Valid AddressThe address that was removed from the CustomerbillingAddressIds.of()factory methodfactory method to create a shallow copy CustomerBillingAddressRemovedMessagePayloadvoidsetAddress(Address address) The address that was removed from the CustomerbillingAddressIds.static com.fasterxml.jackson.core.type.TypeReference<CustomerBillingAddressRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomerBillingAddressRemovedMessagePayload(Function<CustomerBillingAddressRemovedMessagePayload, 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_BILLING_ADDRESS_REMOVED
discriminator value for CustomerBillingAddressRemovedMessagePayload- See Also:
-
-
Method Details
-
getAddress
The address that was removed from the Customer
billingAddressIds.- Returns:
- address
-
setAddress
The address that was removed from the Customer
billingAddressIds.- Parameters:
address- value to be set
-
of
factory method- Returns:
- instance of CustomerBillingAddressRemovedMessagePayload
-
of
static CustomerBillingAddressRemovedMessagePayload of(CustomerBillingAddressRemovedMessagePayload template) factory method to create a shallow copy CustomerBillingAddressRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerBillingAddressRemovedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static CustomerBillingAddressRemovedMessagePayload deepCopy(@Nullable CustomerBillingAddressRemovedMessagePayload template) factory method to create a deep copy of CustomerBillingAddressRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerBillingAddressRemovedMessagePayload- Returns:
- builder
-
builder
static CustomerBillingAddressRemovedMessagePayloadBuilder builder(CustomerBillingAddressRemovedMessagePayload template) create builder for CustomerBillingAddressRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerBillingAddressRemovedMessagePayload
default <T> T withCustomerBillingAddressRemovedMessagePayload(Function<CustomerBillingAddressRemovedMessagePayload, 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<CustomerBillingAddressRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-