import"ApplePaySession.idl";
|
void | begin () |
|
void | abort () |
|
void | completeMerchantValidation (any merchantSession) |
|
void | completeShippingMethodSelection (unsigned short status, ApplePayLineItem newTotal, sequence< ApplePayLineItem > newLineItems) |
|
void | completeShippingContactSelection (unsigned short status, sequence< ApplePayShippingMethod > newShippingMethods, ApplePayLineItem newTotal, sequence< ApplePayLineItem > newLineItems) |
|
void | completePaymentMethodSelection (ApplePayLineItem newTotal, sequence< ApplePayLineItem > newLineItems) |
|
void | completePayment (unsigned short status) |
|
void | addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false) |
|
void | removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false) |
|
boolean | dispatchEvent (Event event) |
|
◆ abort()
void ApplePaySession::abort |
( |
| ) |
|
◆ begin()
void ApplePaySession::begin |
( |
| ) |
|
◆ canMakePayments()
static boolean ApplePaySession::canMakePayments |
( |
| ) |
|
|
static |
◆ canMakePaymentsWithActiveCard()
static Promise<boolean> ApplePaySession::canMakePaymentsWithActiveCard |
( |
DOMString |
merchantIdentifier | ) |
|
|
static |
◆ completeMerchantValidation()
void ApplePaySession::completeMerchantValidation |
( |
any |
merchantSession | ) |
|
◆ completePayment()
void ApplePaySession::completePayment |
( |
unsigned short |
status | ) |
|
◆ completePaymentMethodSelection()
◆ completeShippingContactSelection()
◆ completeShippingMethodSelection()
◆ openPaymentSetup()
static Promise<boolean> ApplePaySession::openPaymentSetup |
( |
DOMString |
merchantIdentifier | ) |
|
|
static |
◆ supportsVersion()
static boolean ApplePaySession::supportsVersion |
( |
unsigned long |
version | ) |
|
|
static |
◆ oncancel
attribute EventHandler ApplePaySession::oncancel |
◆ onpaymentauthorized
attribute EventHandler ApplePaySession::onpaymentauthorized |
◆ onpaymentmethodselected
attribute EventHandler ApplePaySession::onpaymentmethodselected |
◆ onshippingcontactselected
attribute EventHandler ApplePaySession::onshippingcontactselected |
◆ onshippingmethodselected
attribute EventHandler ApplePaySession::onshippingmethodselected |
◆ onvalidatemerchant
attribute EventHandler ApplePaySession::onvalidatemerchant |
◆ STATUS_FAILURE
const unsigned short ApplePaySession::STATUS_FAILURE = 1 |
◆ STATUS_INVALID_BILLING_POSTAL_ADDRESS
const unsigned short ApplePaySession::STATUS_INVALID_BILLING_POSTAL_ADDRESS = 2 |
◆ STATUS_INVALID_SHIPPING_CONTACT
const unsigned short ApplePaySession::STATUS_INVALID_SHIPPING_CONTACT = 4 |
◆ STATUS_INVALID_SHIPPING_POSTAL_ADDRESS
const unsigned short ApplePaySession::STATUS_INVALID_SHIPPING_POSTAL_ADDRESS = 3 |
◆ STATUS_PIN_INCORRECT
const unsigned short ApplePaySession::STATUS_PIN_INCORRECT = 6 |
◆ STATUS_PIN_LOCKOUT
const unsigned short ApplePaySession::STATUS_PIN_LOCKOUT = 7 |
◆ STATUS_PIN_REQUIRED
const unsigned short ApplePaySession::STATUS_PIN_REQUIRED = 5 |
◆ STATUS_SUCCESS
const unsigned short ApplePaySession::STATUS_SUCCESS = 0 |
The documentation for this interface was generated from the following file: