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