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