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