GiftCardInputEventTypes

Input event types emitted from the Gift Card payment method instance.

Values

  • cardBrandChanged String

    A new gift card brand was detected, based on the gift card number.

  • errorClassAdded String

    The gift card number field has an invalid value, and the corresponding error CSS class was added to the element.

  • errorClassRemoved String

    An invalid value on the gift card number was corrected, and the corresponding error CSS class was removed from the element.

  • escape String

    The user pressed the "Escape" key while editing the gift card number field.

  • focusClassAdded String

    The gift card number field gained focus, and the corresponding focus CSS class was added to the element.

  • focusClassRemoved String

    The gift card number field lost focus, and the corresponding focus CSS class was removed from the element.

  • submit String

    The user has triggered submission of the gift card by pressing "Enter" while editing the gift card number field.