Interface PaymentMethodCustomFieldRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after removing a Custom Field from a Payment Method using the Set CustomField update action.
Example to create an instance using the builder pattern
PaymentMethodCustomFieldRemovedMessagePayload paymentMethodCustomFieldRemovedMessagePayload = PaymentMethodCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentMethodCustomFieldRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodCustomFieldRemovedMessagePayloadcreate builder for PaymentMethodCustomFieldRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of PaymentMethodCustomFieldRemovedMessagePayload@NotNull StringgetName()Name of the Custom Field that was removed.of()factory methodfactory method to create a shallow copy PaymentMethodCustomFieldRemovedMessagePayloadvoidName of the Custom Field that was removed.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodCustomFieldRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentMethodCustomFieldRemovedMessagePayload(Function<PaymentMethodCustomFieldRemovedMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
PAYMENT_METHOD_CUSTOM_FIELD_REMOVED
discriminator value for PaymentMethodCustomFieldRemovedMessagePayload- 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 PaymentMethodCustomFieldRemovedMessagePayload
-
of
static PaymentMethodCustomFieldRemovedMessagePayload of(PaymentMethodCustomFieldRemovedMessagePayload template) factory method to create a shallow copy PaymentMethodCustomFieldRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodCustomFieldRemovedMessagePayload deepCopy(@Nullable PaymentMethodCustomFieldRemovedMessagePayload template) factory method to create a deep copy of PaymentMethodCustomFieldRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodCustomFieldRemovedMessagePayload- Returns:
- builder
-
builder
static PaymentMethodCustomFieldRemovedMessagePayloadBuilder builder(PaymentMethodCustomFieldRemovedMessagePayload template) create builder for PaymentMethodCustomFieldRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodCustomFieldRemovedMessagePayload
default <T> T withPaymentMethodCustomFieldRemovedMessagePayload(Function<PaymentMethodCustomFieldRemovedMessagePayload, 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<PaymentMethodCustomFieldRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-