PaymentMethodChangeEvent
open class PaymentMethodChangeEvent(val type: EventType<PaymentMethodChangeEvent>, init: PaymentMethodChangeEventInit = definedExternally) : PaymentRequestUpdateEvent(source)
The PaymentMethodChangeEvent
interface of the Payment Request API describes the PaymentRequest/paymentmethodchange_event event which is fired by some payment handlers when the user switches payment instruments (e.g., a user selects a 'store' card to make a purchase while using Apple Pay). Available only in secure contexts.
Constructors
Link copied to clipboard
constructor(type: EventType<PaymentMethodChangeEvent>, init: PaymentMethodChangeEventInit = definedExternally)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The read-only methodDetails
property of the PaymentMethodChangeEvent interface is an object containing any data the payment handler may provide to describe the change the user has made to their payment method.
Link copied to clipboard
The read-only methodName
property of the PaymentMethodChangeEvent interface is a string which uniquely identifies the payment handler currently selected by the user.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard