Structure

ApplePayPaymentMethod

A dictionary that describes an Apple Pay payment card.

Declaration

dictionary ApplePayPaymentMethod {
    DOMString displayName;
    DOMString network;
    ApplePayPaymentMethodType type;
    ApplePayPaymentPass paymentPass;
};

Topics

Accessing Payment Method Data

displayName

A string, suitable for display, that describes the card.

network

A string, suitable for display, that is the name of the payment network backing the card.

type

A value representing the card's type of payment.

paymentPass

The payment pass object currently selected to complete the payment.

Payment Methods and Network Constants

ApplePayPaymentMethodType

A payment card's type of payment.

See Also

Handling Payment Method Updates

onpaymentmethodselected

An event handler that is called when a new payment method is selected.

completePaymentMethodSelection

Completes the selection of a payment method with an update.

ApplePayPaymentMethodUpdate

Updated transaction details resulting from a change in payment method.

ApplePayPaymentMethodSelectedEvent

An event object that contains the payment method.