Interface BusinessUnitAddressCustomFieldRemovedMessagePayload
- All Superinterfaces:
- MessagePayload,- MessagePayloadMixin
Generated after removing a Custom Field from an address of a Business Unit using the Set Address CustomField update action.
Example to create an instance using the builder pattern
     BusinessUnitAddressCustomFieldRemovedMessagePayload businessUnitAddressCustomFieldRemovedMessagePayload = BusinessUnitAddressCustomFieldRemovedMessagePayload.builder()
             .name("{name}")
             .build()
 - 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitAddressCustomFieldRemovedMessagePayload
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitAddressCustomFieldRemovedMessagePayloadcreate builder for BusinessUnitAddressCustomFieldRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of BusinessUnitAddressCustomFieldRemovedMessagePayloadidof the Address from which the Custom Field was removed.@NotNull StringgetName()Name of the Custom Field that was removed.of()factory methodfactory method to create a shallow copy BusinessUnitAddressCustomFieldRemovedMessagePayloadvoidsetAddressId(String addressId) idof the Address from which the Custom Field was removed.voidName of the Custom Field that was removed.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitAddressCustomFieldRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitAddressCustomFieldRemovedMessagePayload(Function<BusinessUnitAddressCustomFieldRemovedMessagePayload, 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- 
BUSINESS_UNIT_ADDRESS_CUSTOM_FIELD_REMOVEDdiscriminator value for BusinessUnitAddressCustomFieldRemovedMessagePayload- See Also:
 
 
- 
- 
Method Details- 
getNameName of the Custom Field that was removed. - Returns:
- name
 
- 
getAddressIdString getAddressId()idof the Address from which the Custom Field was removed.- Returns:
- addressId
 
- 
setNameName of the Custom Field that was removed. - Parameters:
- name- value to be set
 
- 
setAddressIdidof the Address from which the Custom Field was removed.- Parameters:
- addressId- value to be set
 
- 
offactory method- Returns:
- instance of BusinessUnitAddressCustomFieldRemovedMessagePayload
 
- 
ofstatic BusinessUnitAddressCustomFieldRemovedMessagePayload of(BusinessUnitAddressCustomFieldRemovedMessagePayload template) factory method to create a shallow copy BusinessUnitAddressCustomFieldRemovedMessagePayload- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
copyDeep- Specified by:
- copyDeepin interface- MessagePayload
 
- 
deepCopy@Nullable static BusinessUnitAddressCustomFieldRemovedMessagePayload deepCopy(@Nullable BusinessUnitAddressCustomFieldRemovedMessagePayload template) factory method to create a deep copy of BusinessUnitAddressCustomFieldRemovedMessagePayload- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
builderbuilder factory method for BusinessUnitAddressCustomFieldRemovedMessagePayload- Returns:
- builder
 
- 
builderstatic BusinessUnitAddressCustomFieldRemovedMessagePayloadBuilder builder(BusinessUnitAddressCustomFieldRemovedMessagePayload template) create builder for BusinessUnitAddressCustomFieldRemovedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
- 
withBusinessUnitAddressCustomFieldRemovedMessagePayloaddefault <T> T withBusinessUnitAddressCustomFieldRemovedMessagePayload(Function<BusinessUnitAddressCustomFieldRemovedMessagePayload, 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<BusinessUnitAddressCustomFieldRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
 
 
-