Package-level declarations

Types

Link copied to clipboard
external interface AddressErrors
Link copied to clipboard
external interface PayerErrors
Link copied to clipboard
Link copied to clipboard
sealed external interface PaymentComplete
Link copied to clipboard
external interface PaymentCurrencyAmount
Link copied to clipboard
external interface PaymentDetailsBase
Link copied to clipboard
Link copied to clipboard
external interface PaymentDetailsModifier
Link copied to clipboard
Link copied to clipboard
external interface PaymentItem
Link copied to clipboard

Available only in secure contexts.

Link copied to clipboard
external interface PaymentMethodData
Link copied to clipboard
external interface PaymentOptions
Link copied to clipboard
open external class PaymentRequest(methodData: ReadonlyArray<PaymentMethodData>, details: PaymentDetailsInit, options: PaymentOptions = definedExternally) : EventTarget

This Payment Request API interface is the primary access point into the API, and lets web content and apps accept payments from the end user. Available only in secure contexts.

Link copied to clipboard
open external class PaymentRequestUpdateEvent(val type: EventType<PaymentRequestUpdateEvent>, init: PaymentRequestUpdateEventInit = definedExternally) : Event

This Payment Request API interface enables a web page to update the details of a PaymentRequest in response to a user action. Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
external class PaymentResponse : EventTarget

This Payment Request API interface is returned after a user selects a payment method and approves a payment request. Available only in secure contexts.

Link copied to clipboard
external interface PaymentShippingOption
Link copied to clipboard
sealed external interface PaymentShippingType
Link copied to clipboard
external interface PaymentValidationErrors