Interface OrderCustomFieldRemovedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
Generated when a Custom Field has been removed from the Order using the Set CustomField action.
Example to create an instance using the builder pattern
OrderCustomFieldRemovedMessagePayload orderCustomFieldRemovedMessagePayload = OrderCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderCustomFieldRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderCustomFieldRemovedMessagePayloadbuilder
(OrderCustomFieldRemovedMessagePayload template) create builder for OrderCustomFieldRemovedMessagePayload instancefactory method to create a deep copy of OrderCustomFieldRemovedMessagePayload@NotNull String
getName()
Name of the Custom Field that was removed.of()
factory methodof
(OrderCustomFieldRemovedMessagePayload template) factory method to create a shallow copy OrderCustomFieldRemovedMessagePayloadvoid
Name of the Custom Field that was removed.static com.fasterxml.jackson.core.type.TypeReference<OrderCustomFieldRemovedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Field Details
-
ORDER_CUSTOM_FIELD_REMOVED
discriminator value for OrderCustomFieldRemovedMessagePayload- 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 OrderCustomFieldRemovedMessagePayload
-
of
factory method to create a shallow copy OrderCustomFieldRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderCustomFieldRemovedMessagePayload deepCopy(@Nullable OrderCustomFieldRemovedMessagePayload template) factory method to create a deep copy of OrderCustomFieldRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderCustomFieldRemovedMessagePayload- Returns:
- builder
-
builder
static OrderCustomFieldRemovedMessagePayloadBuilder builder(OrderCustomFieldRemovedMessagePayload template) create builder for OrderCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderCustomFieldRemovedMessagePayload
default <T> T withOrderCustomFieldRemovedMessagePayload(Function<OrderCustomFieldRemovedMessagePayload, 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<OrderCustomFieldRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-