Interface BusinessUnitCustomFieldRemovedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after removing a Custom Field from a Business Unit using the Set CustomField update action.
Example to create an instance using the builder pattern
BusinessUnitCustomFieldRemovedMessagePayload businessUnitCustomFieldRemovedMessagePayload = BusinessUnitCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitCustomFieldRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitCustomFieldRemovedMessagePayloadcreate builder for BusinessUnitCustomFieldRemovedMessagePayload instancefactory method to create a deep copy of BusinessUnitCustomFieldRemovedMessagePayload@NotNull String
getName()
Name of the Custom Field that was removed.of()
factory methodfactory method to create a shallow copy BusinessUnitCustomFieldRemovedMessagePayloadvoid
Name of the Custom Field that was removed.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitCustomFieldRemovedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitCustomFieldRemovedMessagePayload
(Function<BusinessUnitCustomFieldRemovedMessagePayload, 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_CUSTOM_FIELD_REMOVED
discriminator value for BusinessUnitCustomFieldRemovedMessagePayload- 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 BusinessUnitCustomFieldRemovedMessagePayload
-
of
static BusinessUnitCustomFieldRemovedMessagePayload of(BusinessUnitCustomFieldRemovedMessagePayload template) factory method to create a shallow copy BusinessUnitCustomFieldRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitCustomFieldRemovedMessagePayload deepCopy(@Nullable BusinessUnitCustomFieldRemovedMessagePayload template) factory method to create a deep copy of BusinessUnitCustomFieldRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitCustomFieldRemovedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitCustomFieldRemovedMessagePayloadBuilder builder(BusinessUnitCustomFieldRemovedMessagePayload template) create builder for BusinessUnitCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitCustomFieldRemovedMessagePayload
default <T> T withBusinessUnitCustomFieldRemovedMessagePayload(Function<BusinessUnitCustomFieldRemovedMessagePayload, 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<BusinessUnitCustomFieldRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-