Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.PaymentResponse

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.PaymentResponse
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { PaymentResponse } = dom;

This Payment Request API interface is returned after a user selects a payment method and approves a payment request.

Properties

readonly
details: any
readonly
methodName: string
readonly
payerEmail: string | null
readonly
payerName: string | null
readonly
payerPhone: string | null
readonly
requestId: string
readonly
shippingAddress: PaymentAddress | null
readonly
shippingOption: string | null

Methods

complete(result?: PaymentComplete): Promise<void>
toJSON(): any