Interface BusinessUnitDefaultShippingAddressSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Default Shipping Address update action.
Example to create an instance using the builder pattern
BusinessUnitDefaultShippingAddressSetMessagePayload businessUnitDefaultShippingAddressSetMessagePayload = BusinessUnitDefaultShippingAddressSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitDefaultShippingAddressSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitDefaultShippingAddressSetMessagePayloadcreate builder for BusinessUnitDefaultShippingAddressSetMessagePayload instancefactory method to create a deep copy of BusinessUnitDefaultShippingAddressSetMessagePayload@Valid Address
The address that was set as the default shipping address.of()
factory methodfactory method to create a shallow copy BusinessUnitDefaultShippingAddressSetMessagePayloadvoid
setAddress
(Address address) The address that was set as the default shipping address.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitDefaultShippingAddressSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitDefaultShippingAddressSetMessagePayload
(Function<BusinessUnitDefaultShippingAddressSetMessagePayload, 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_SHIPPING_ADDRESS_SET
discriminator value for BusinessUnitDefaultShippingAddressSetMessagePayload- See Also:
-
-
Method Details
-
getAddress
The address that was set as the default shipping address.
- Returns:
- address
-
setAddress
The address that was set as the default shipping address.
- Parameters:
address
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitDefaultShippingAddressSetMessagePayload
-
of
static BusinessUnitDefaultShippingAddressSetMessagePayload of(BusinessUnitDefaultShippingAddressSetMessagePayload template) factory method to create a shallow copy BusinessUnitDefaultShippingAddressSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitDefaultShippingAddressSetMessagePayload deepCopy(@Nullable BusinessUnitDefaultShippingAddressSetMessagePayload template) factory method to create a deep copy of BusinessUnitDefaultShippingAddressSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitDefaultShippingAddressSetMessagePayload- Returns:
- builder
-
builder
static BusinessUnitDefaultShippingAddressSetMessagePayloadBuilder builder(BusinessUnitDefaultShippingAddressSetMessagePayload template) create builder for BusinessUnitDefaultShippingAddressSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitDefaultShippingAddressSetMessagePayload
default <T> T withBusinessUnitDefaultShippingAddressSetMessagePayload(Function<BusinessUnitDefaultShippingAddressSetMessagePayload, 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<BusinessUnitDefaultShippingAddressSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-