Interface PaymentMethodInfoCustomFieldRemovedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after removing a Custom Field from a PaymentMethodInfo using the Set MethodInfo CustomField update action on Payments and the Set MethodInfo CustomField update action on My Payments.
Example to create an instance using the builder pattern
PaymentMethodInfoCustomFieldRemovedMessagePayload paymentMethodInfoCustomFieldRemovedMessagePayload = PaymentMethodInfoCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentMethodInfoCustomFieldRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentMethodInfoCustomFieldRemovedMessagePayloadcreate builder for PaymentMethodInfoCustomFieldRemovedMessagePayload instancecopyDeep()
factory method to create a deep copy of PaymentMethodInfoCustomFieldRemovedMessagePayload@NotNull String
getName()
Name of the Custom Field that was removed.of()
factory methodfactory method to create a shallow copy PaymentMethodInfoCustomFieldRemovedMessagePayloadvoid
Name of the Custom Field that was removed.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoCustomFieldRemovedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentMethodInfoCustomFieldRemovedMessagePayload
(Function<PaymentMethodInfoCustomFieldRemovedMessagePayload, 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
-
PAYMENT_METHOD_INFO_CUSTOM_FIELD_REMOVED
discriminator value for PaymentMethodInfoCustomFieldRemovedMessagePayload- 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 PaymentMethodInfoCustomFieldRemovedMessagePayload
-
of
static PaymentMethodInfoCustomFieldRemovedMessagePayload of(PaymentMethodInfoCustomFieldRemovedMessagePayload template) factory method to create a shallow copy PaymentMethodInfoCustomFieldRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeep
in interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodInfoCustomFieldRemovedMessagePayload deepCopy(@Nullable PaymentMethodInfoCustomFieldRemovedMessagePayload template) factory method to create a deep copy of PaymentMethodInfoCustomFieldRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoCustomFieldRemovedMessagePayload- Returns:
- builder
-
builder
static PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder builder(PaymentMethodInfoCustomFieldRemovedMessagePayload template) create builder for PaymentMethodInfoCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoCustomFieldRemovedMessagePayload
default <T> T withPaymentMethodInfoCustomFieldRemovedMessagePayload(Function<PaymentMethodInfoCustomFieldRemovedMessagePayload, 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<PaymentMethodInfoCustomFieldRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-