PaymentResponse class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Payment Request API is returned after a user selects a payment method and approves a payment request.

EventTarget

PaymentResponse

Implemented types
Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

PaymentResponse()
factory

Properties

details → dynamic

Available on PaymentResponse, provided by the PropsPaymentResponse extension

no setter
hashCode int
The hash code for this object.
no setterinherited
methodName String

Available on PaymentResponse, provided by the PropsPaymentResponse extension

no setter
requestId String

Available on PaymentResponse, provided by the PropsPaymentResponse extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

complete([PaymentComplete? result = PaymentComplete.unknown, PaymentCompleteDetails? details]) Future<void>

Available on PaymentResponse, provided by the PropsPaymentResponse extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

retry([PaymentValidationErrors? errorFields]) Future<void>

Available on PaymentResponse, provided by the PropsPaymentResponse extension

toJSON() → dynamic

Available on PaymentResponse, provided by the PropsPaymentResponse extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited