Interface BusinessUnitDefaultBillingAddressSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Default Billing Address update action.
Example to create an instance using the builder pattern
BusinessUnitDefaultBillingAddressSetMessagePayload businessUnitDefaultBillingAddressSetMessagePayload = BusinessUnitDefaultBillingAddressSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitDefaultBillingAddressSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitDefaultBillingAddressSetMessagePayloadcreate builder for BusinessUnitDefaultBillingAddressSetMessagePayload instancefactory method to create a deep copy of BusinessUnitDefaultBillingAddressSetMessagePayload@Valid Address
The address that was set as the default billing address.of()
factory methodfactory method to create a shallow copy BusinessUnitDefaultBillingAddressSetMessagePayloadvoid
setAddress
(Address address) The address that was set as the default billing address.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitDefaultBillingAddressSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitDefaultBillingAddressSetMessagePayload
(Function<BusinessUnitDefaultBillingAddressSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
BUSINESS_UNIT_DEFAULT_BILLING_ADDRESS_SET
discriminator value for BusinessUnitDefaultBillingAddressSetMessagePayload- 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 BusinessUnitDefaultBillingAddressSetMessagePayload
-
of
static BusinessUnitDefaultBillingAddressSetMessagePayload of(BusinessUnitDefaultBillingAddressSetMessagePayload template) factory method to create a shallow copy BusinessUnitDefaultBillingAddressSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitDefaultBillingAddressSetMessagePayload deepCopy(@Nullable BusinessUnitDefaultBillingAddressSetMessagePayload template) factory method to create a deep copy of BusinessUnitDefaultBillingAddressSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitDefaultBillingAddressSetMessagePayload- Returns:
- builder
-
builder
static BusinessUnitDefaultBillingAddressSetMessagePayloadBuilder builder(BusinessUnitDefaultBillingAddressSetMessagePayload template) create builder for BusinessUnitDefaultBillingAddressSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitDefaultBillingAddressSetMessagePayload
default <T> T withBusinessUnitDefaultBillingAddressSetMessagePayload(Function<BusinessUnitDefaultBillingAddressSetMessagePayload, 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<BusinessUnitDefaultBillingAddressSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-