Interface BusinessUnitBillingAddressAddedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Add Billing Address Identifier update action.
Example to create an instance using the builder pattern
BusinessUnitBillingAddressAddedMessagePayload businessUnitBillingAddressAddedMessagePayload = BusinessUnitBillingAddressAddedMessagePayload.builder()
.address(addressBuilder -> addressBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitBillingAddressAddedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitBillingAddressAddedMessagePayloadcreate builder for BusinessUnitBillingAddressAddedMessagePayload instancefactory method to create a deep copy of BusinessUnitBillingAddressAddedMessagePayload@NotNull @Valid Address
The address that was added to the Business Unit as billing address.of()
factory methodfactory method to create a shallow copy BusinessUnitBillingAddressAddedMessagePayloadvoid
setAddress
(Address address) The address that was added to the Business Unit as billing address.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitBillingAddressAddedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitBillingAddressAddedMessagePayload
(Function<BusinessUnitBillingAddressAddedMessagePayload, 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_BILLING_ADDRESS_ADDED
discriminator value for BusinessUnitBillingAddressAddedMessagePayload- See Also:
-
-
Method Details
-
getAddress
The address that was added to the Business Unit as billing address.
- Returns:
- address
-
setAddress
The address that was added to the Business Unit as billing address.
- Parameters:
address
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitBillingAddressAddedMessagePayload
-
of
static BusinessUnitBillingAddressAddedMessagePayload of(BusinessUnitBillingAddressAddedMessagePayload template) factory method to create a shallow copy BusinessUnitBillingAddressAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitBillingAddressAddedMessagePayload deepCopy(@Nullable BusinessUnitBillingAddressAddedMessagePayload template) factory method to create a deep copy of BusinessUnitBillingAddressAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitBillingAddressAddedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitBillingAddressAddedMessagePayloadBuilder builder(BusinessUnitBillingAddressAddedMessagePayload template) create builder for BusinessUnitBillingAddressAddedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitBillingAddressAddedMessagePayload
default <T> T withBusinessUnitBillingAddressAddedMessagePayload(Function<BusinessUnitBillingAddressAddedMessagePayload, 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<BusinessUnitBillingAddressAddedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-