Liking cljdoc? Tell your friends :D

web.payments.PaymentResponse

The PaymentResponse interface of the Payment Request API is returned a user selects a payment method and approves a payment request.

The PaymentResponse interface of the Payment Request API is returned
a user selects a payment method and approves a payment request.
raw docstring

completecljs

(complete this result)

Method.

The web.payments.PaymentRequest method complete() of the Payment API notifies the user agent that the user interaction is over, causes any remaining user interface to be closed.

completePromise = paymentRequest.complete(result);

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete

Method.

The `web.payments.PaymentRequest` method complete() of the Payment
API notifies the user agent that the user interaction is over,
causes any remaining user interface to be closed.

`completePromise = paymentRequest.complete(result);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/complete`
sourceraw docstring

detailscljs

(details this)

Property.

[Read Only] [Experimental]

The details read-only property of the web.payments.PaymentResponse returns a JSON-serializable object that provides a payment method message used by the merchant to process the transaction and determine successful funds transfer.

var detailsObject = PaymentResponse.details;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/details

Property.

[Read Only]
[Experimental]

The details read-only property of the `web.payments.PaymentResponse`
returns a JSON-serializable object that provides a payment method
message used by the merchant to process the transaction and determine
successful funds transfer.

`var detailsObject = PaymentResponse.details;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/details`
sourceraw docstring

method-namecljs

(method-name this)

Property.

[Read Only]

The methodName read-only property of the web.payments.PaymentResponse returns a string uniquely identifying the payment handler selected the user.

var methodName = PaymentResponse.methodName;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/methodName

Property.

[Read Only]

The methodName read-only property of the `web.payments.PaymentResponse`
returns a string uniquely identifying the payment handler selected
the user.

`var methodName = PaymentResponse.methodName;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/methodName`
sourceraw docstring

onpayerdetailchangecljs

(onpayerdetailchange this)

Property.

The web.payments.PaymentResponse object's onpayerdetailchange is an event handler which is called to handle the payerdetailchange which is sent to the PaymentResponse when the user makes changes their personal information while filling out a payment request

paymentResponse.onpayerdetailchange = eventHandlerFunction;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/onpayerdetailchange

Property.

The `web.payments.PaymentResponse` object's onpayerdetailchange
is an event handler which is called to handle the payerdetailchange
which is sent to the PaymentResponse when the user makes changes
their personal information while filling out a payment request

`paymentResponse.onpayerdetailchange = eventHandlerFunction;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/onpayerdetailchange`
sourceraw docstring

payer-emailcljs

(payer-email this)

Property.

[Read Only] [Experimental]

The payerEmail read-only property of the web.payments.PaymentResponse returns the email address supplied by the user. This option is present when the requestPayerEmail option is set to true in the object passed to the web.payments.PaymentRequest constructor.

var payerEmail = PaymentResponse.payerEmail;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerEmail

Property.

[Read Only]
[Experimental]

The payerEmail read-only property of the `web.payments.PaymentResponse`
returns the email address supplied by the user. This option is
present when the requestPayerEmail option is set to true in the
object passed to the `web.payments.PaymentRequest` constructor.

`var payerEmail = PaymentResponse.payerEmail;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerEmail`
sourceraw docstring

payer-namecljs

(payer-name this)

Property.

[Read Only] [Experimental]

The payerName read-only property of the web.payments.PaymentResponse returns the name supplied by the user. This option is only present the requestPayerName option is set to true in the options parameter the PaymentRequest() constructor.

var payerName = PaymentResponse.payerName;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerName

Property.

[Read Only]
[Experimental]

The payerName read-only property of the `web.payments.PaymentResponse`
returns the name supplied by the user. This option is only present
the requestPayerName option is set to true in the options parameter
the `PaymentRequest()` constructor.

`var payerName = PaymentResponse.payerName;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerName`
sourceraw docstring

payer-phonecljs

(payer-phone this)

Property.

[Read Only] [Experimental]

The payerPhone read-only property of the web.payments.PaymentResponse returns the phone number supplied by the user. This option is present when the requestPayerPhone option is set to true in the object passed to the web.payments.PaymentRequest constructor.

var payerPhone = PaymentResponse.payerPhone;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerPhone

Property.

[Read Only]
[Experimental]

The payerPhone read-only property of the `web.payments.PaymentResponse`
returns the phone number supplied by the user. This option is
present when the requestPayerPhone option is set to true in the
object passed to the `web.payments.PaymentRequest` constructor.

`var payerPhone = PaymentResponse.payerPhone;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/payerPhone`
sourceraw docstring

request-idcljs

(request-id this)

Property.

[Read Only] [Experimental]

The requestId read-only property of the web.payments.PaymentResponse rreturns the free-form identifier supplied by the PaymentResponse() by details.id.

var id = paymentRequest.id

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/requestId

Property.

[Read Only]
[Experimental]

The requestId read-only property of the `web.payments.PaymentResponse`
rreturns the free-form identifier supplied by the PaymentResponse()
by details.id.

`var id = paymentRequest.id`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/requestId`
sourceraw docstring

retrycljs

(retry this error-fields)

Method.

The web.payments.PaymentResponse interface's reply() method it possible to ask the user to retry a payment after an error during processing.

retryPromise = paymentRequest.retry(errorFields);

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/retry

Method.

The `web.payments.PaymentResponse` interface's reply() method
it possible to ask the user to retry a payment after an error
during processing.

`retryPromise = paymentRequest.retry(errorFields);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/retry`
sourceraw docstring

set-onpayerdetailchange!cljs

(set-onpayerdetailchange! this val)

Property.

The web.payments.PaymentResponse object's onpayerdetailchange is an event handler which is called to handle the payerdetailchange which is sent to the PaymentResponse when the user makes changes their personal information while filling out a payment request

paymentResponse.onpayerdetailchange = eventHandlerFunction;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/onpayerdetailchange

Property.

The `web.payments.PaymentResponse` object's onpayerdetailchange
is an event handler which is called to handle the payerdetailchange
which is sent to the PaymentResponse when the user makes changes
their personal information while filling out a payment request

`paymentResponse.onpayerdetailchange = eventHandlerFunction;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/onpayerdetailchange`
sourceraw docstring

shipping-addresscljs

(shipping-address this)

Property.

[Read Only] [Experimental]

The shippingAddress read-only property of the PaymentRequest returns a web.payments.PaymentAddress object containing the address provided by the user.

var shippingAddress = PaymentRequest.shippingAddress;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingAddress

Property.

[Read Only]
[Experimental]

The shippingAddress read-only property of the PaymentRequest
returns a `web.payments.PaymentAddress` object containing the
address provided by the user.

`var shippingAddress = PaymentRequest.shippingAddress;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingAddress`
sourceraw docstring

shipping-optioncljs

(shipping-option this)

Property.

[Read Only] [Experimental]

The shippingOption read-only property of the PaymentRequest interface the ID attribute of the shipping option selected by the user. option is only present when the requestShipping option is set true in the PaymentOptions object passed to the web.payments.PaymentRequest

var shippingOption = PaymentRequest.shippingOption;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingOption

Property.

[Read Only]
[Experimental]

The shippingOption read-only property of the PaymentRequest interface
the ID attribute of the shipping option selected by the user.
option is only present when the requestShipping option is set
true in the `PaymentOptions` object passed to the `web.payments.PaymentRequest`

`var shippingOption = PaymentRequest.shippingOption;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentResponse/shippingOption`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close