PaymentRequest
Overview
The Payment Request API's PaymentRequest interface the primary access point into the API, and lets web content and apps accept payments from the end user on behalf of the operator of the site or the publisher of the app.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
Properties
id
property id: Int32 read;
Int32 id { get; }
var id: Int32 { get{} }
Int32 id { __get; }
ReadOnly Property id() As Int32
shippingType
property shippingType: dynamic read;
dynamic shippingType { get; }
var shippingType: dynamic { get{} }
dynamic shippingType { __get; }
ReadOnly Property shippingType() As dynamic
Required Methods
canMakePayment
Indicates whether the PaymentRequest object can make a payment before calling show().
method canMakePayment: dynamic
dynamic canMakePayment()
func canMakePayment() -> dynamic
dynamic canMakePayment()
Function canMakePayment() As dynamic
show
Causes the user agent to begin the user interaction for the payment request.
method show(pardetailsPromise: dynamic): dynamic
dynamic show(dynamic pardetailsPromise)
func show(_ pardetailsPromise: dynamic) -> dynamic
dynamic show(dynamic pardetailsPromise)
Function show(pardetailsPromise As dynamic) As dynamic
Parameters:
- pardetailsPromise: