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