Interface CustomerDefaultShippingAddressSetMessagePayload
- All Superinterfaces:
- MessagePayload,- MessagePayloadMixin
Generated after a successful Set Default Shipping Address update action.
Example to create an instance using the builder pattern
     CustomerDefaultShippingAddressSetMessagePayload customerDefaultShippingAddressSetMessagePayload = CustomerDefaultShippingAddressSetMessagePayload.builder()
             .build()
 - 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerDefaultShippingAddressSetMessagePayload
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()builder factory method for CustomerDefaultShippingAddressSetMessagePayloadcreate builder for CustomerDefaultShippingAddressSetMessagePayload instancecopyDeep()factory method to create a deep copy of CustomerDefaultShippingAddressSetMessagePayload@Valid AddressThe address that was set as the default shipping address.of()factory methodfactory method to create a shallow copy CustomerDefaultShippingAddressSetMessagePayloadvoidsetAddress(Address address) The address that was set as the default shipping address.static com.fasterxml.jackson.core.type.TypeReference<CustomerDefaultShippingAddressSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomerDefaultShippingAddressSetMessagePayload(Function<CustomerDefaultShippingAddressSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayloadgetType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixinas
- 
Field Details- 
CUSTOMER_DEFAULT_SHIPPING_ADDRESS_SETdiscriminator value for CustomerDefaultShippingAddressSetMessagePayload- See Also:
 
 
- 
- 
Method Details- 
getAddressThe address that was set as the default shipping address. - Returns:
- address
 
- 
setAddressThe address that was set as the default shipping address. - Parameters:
- address- value to be set
 
- 
offactory method- Returns:
- instance of CustomerDefaultShippingAddressSetMessagePayload
 
- 
ofstatic CustomerDefaultShippingAddressSetMessagePayload of(CustomerDefaultShippingAddressSetMessagePayload template) factory method to create a shallow copy CustomerDefaultShippingAddressSetMessagePayload- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
copyDeep- Specified by:
- copyDeepin interface- MessagePayload
 
- 
deepCopy@Nullable static CustomerDefaultShippingAddressSetMessagePayload deepCopy(@Nullable CustomerDefaultShippingAddressSetMessagePayload template) factory method to create a deep copy of CustomerDefaultShippingAddressSetMessagePayload- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
builderbuilder factory method for CustomerDefaultShippingAddressSetMessagePayload- Returns:
- builder
 
- 
builderstatic CustomerDefaultShippingAddressSetMessagePayloadBuilder builder(CustomerDefaultShippingAddressSetMessagePayload template) create builder for CustomerDefaultShippingAddressSetMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
- 
withCustomerDefaultShippingAddressSetMessagePayloaddefault <T> T withCustomerDefaultShippingAddressSetMessagePayload(Function<CustomerDefaultShippingAddressSetMessagePayload, T> helper) accessor map function- Type Parameters:
- T- mapped type
- Parameters:
- helper- function to map the object
- Returns:
- mapped value
 
- 
typeReferencestatic com.fasterxml.jackson.core.type.TypeReference<CustomerDefaultShippingAddressSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
 
 
-