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