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