interface PaymentRequest
implements EventTarget
import { type PaymentRequest } from "https://deno.land/x/windmill@v1.397.0/node_modules/evt/src/lib/types/lib.dom.ts";
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.
Methods
addEventListener<K extends keyof PaymentRequestEventMap>(): void
type: K,
listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof PaymentRequestEventMap>(): void
type: K,
listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any,
options?: boolean | EventListenerOptions,