Interface CustomerDefaultBillingAddressSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set Default Billing Address update action.
Example to create an instance using the builder pattern
CustomerDefaultBillingAddressSetMessagePayload customerDefaultBillingAddressSetMessagePayload = CustomerDefaultBillingAddressSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerDefaultBillingAddressSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerDefaultBillingAddressSetMessagePayloadcreate builder for CustomerDefaultBillingAddressSetMessagePayload instancecopyDeep()factory method to create a deep copy of CustomerDefaultBillingAddressSetMessagePayload@Valid AddressThe address that was set as the default billing address.of()factory methodfactory method to create a shallow copy CustomerDefaultBillingAddressSetMessagePayloadvoidsetAddress(Address address) The address that was set as the default billing address.static com.fasterxml.jackson.core.type.TypeReference<CustomerDefaultBillingAddressSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomerDefaultBillingAddressSetMessagePayload(Function<CustomerDefaultBillingAddressSetMessagePayload, 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_DEFAULT_BILLING_ADDRESS_SET
discriminator value for CustomerDefaultBillingAddressSetMessagePayload- See Also:
-
-
Method Details
-
getAddress
The address that was set as the default billing address.
- Returns:
- address
-
setAddress
The address that was set as the default billing address.
- Parameters:
address- value to be set
-
of
factory method- Returns:
- instance of CustomerDefaultBillingAddressSetMessagePayload
-
of
static CustomerDefaultBillingAddressSetMessagePayload of(CustomerDefaultBillingAddressSetMessagePayload template) factory method to create a shallow copy CustomerDefaultBillingAddressSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static CustomerDefaultBillingAddressSetMessagePayload deepCopy(@Nullable CustomerDefaultBillingAddressSetMessagePayload template) factory method to create a deep copy of CustomerDefaultBillingAddressSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerDefaultBillingAddressSetMessagePayload- Returns:
- builder
-
builder
static CustomerDefaultBillingAddressSetMessagePayloadBuilder builder(CustomerDefaultBillingAddressSetMessagePayload template) create builder for CustomerDefaultBillingAddressSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerDefaultBillingAddressSetMessagePayload
default <T> T withCustomerDefaultBillingAddressSetMessagePayload(Function<CustomerDefaultBillingAddressSetMessagePayload, 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<CustomerDefaultBillingAddressSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-