Adding or updating a Custom Type on a PaymentMethod generates the PaymentMethodCustomTypeSet Message, removing one generates the PaymentMethodCustomTypeRemoved Message.

interface PaymentMethodSetCustomTypeAction {
    action: "setCustomType";
    fields?: FieldContainer;
    type?: TypeResourceIdentifier;
}

Hierarchy (View Summary)

Properties

Properties

action: "setCustomType"

Sets the Custom Fields fields for the PaymentMethod.

Defines the Type that extends the PaymentMethod with Custom Fields. If absent, any existing Type and Custom Fields are removed from the PaymentMethod.