Interface MyPaymentSetMethodInfoCustomFieldAction

Adding a Custom Field to a PaymentMethodInfo generates the PaymentMethodInfoCustomFieldAdded Message, removing one generates the PaymentMethodInfoCustomFieldRemoved Message, and updating an existing one generates the PaymentMethodInfoCustomFieldChanged Message.

interface MyPaymentSetMethodInfoCustomFieldAction {
    action: "setMethodInfoCustomField";
    name: string;
    value?: any;
}

Hierarchy (View Summary)

Properties

Properties

action: "setMethodInfoCustomField"
name: string

Name of the Custom Field.

value?: any

If value is absent or null, this field will be removed if it exists. If value is provided, it is set for the field defined by name. Trying to remove a field that does not exist will fail with an InvalidOperation error.