PaymentResponse class
This Payment Request API interface is returned after a user selects a payment method and approves a payment request. Available only in secure contexts.
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- PaymentResponse()
-
factory
Properties
- addEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
complete
↔ Future<
void> Function([PaymentComplete?]) -
Available on PaymentResponse, provided by the PaymentResponse$Typings extension
getter/setter pair - details → dynamic
-
Available on PaymentResponse, provided by the PaymentResponse$Typings extension
MDN Referenceno setter - dispatchEvent ↔ bool Function(Event)
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- methodName → String
-
Available on PaymentResponse, provided by the PaymentResponse$Typings extension
MDN Referenceno setter - removeEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair - requestId → String
-
Available on PaymentResponse, provided by the PaymentResponse$Typings extension
MDN Referenceno setter -
retry
↔ Future<
void> Function([PaymentValidationErrors?]) -
Available on PaymentResponse, provided by the PaymentResponse$Typings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJSON ↔ dynamic Function()
-
Available on PaymentResponse, provided by the PaymentResponse$Typings extension
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited