Interface BusinessUnitAddressCustomFieldRemovedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
- All Known Implementing Classes:
BusinessUnitAddressCustomFieldRemovedMessagePayloadImpl
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 Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitAddressCustomFieldRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitAddressCustomFieldRemovedMessagePayloadcreate builder for BusinessUnitAddressCustomFieldRemovedMessagePayload instancefactory method to create a deep copy of BusinessUnitAddressCustomFieldRemovedMessagePayload@NotNull String
getName()
Name of the Custom Field that was removed.of()
factory methodfactory method to create a shallow copy BusinessUnitAddressCustomFieldRemovedMessagePayloadvoid
Name of the Custom Field that was removed.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitAddressCustomFieldRemovedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitAddressCustomFieldRemovedMessagePayload
(Function<BusinessUnitAddressCustomFieldRemovedMessagePayload, 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_CUSTOM_FIELD_REMOVED
discriminator value for BusinessUnitAddressCustomFieldRemovedMessagePayload- See Also:
-
-
Method Details
-
getName
Name of the Custom Field that was removed.
- Returns:
- name
-
setName
Name of the Custom Field that was removed.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitAddressCustomFieldRemovedMessagePayload
-
of
static BusinessUnitAddressCustomFieldRemovedMessagePayload of(BusinessUnitAddressCustomFieldRemovedMessagePayload template) factory method to create a shallow copy BusinessUnitAddressCustomFieldRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
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
-
builder
builder factory method for BusinessUnitAddressCustomFieldRemovedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitAddressCustomFieldRemovedMessagePayloadBuilder builder(BusinessUnitAddressCustomFieldRemovedMessagePayload template) create builder for BusinessUnitAddressCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitAddressCustomFieldRemovedMessagePayload
default <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
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitAddressCustomFieldRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-