Liking cljdoc? Tell your friends :D

web.payments.PaymentMethodChangeEvent

The PaymentMethodChangeEvent interface of the Payment Request describes the paymentmethodchange event which is fired by some handlers when the user switches payment instruments (e.g., a selects a "store" card to make a purchase while using Apple

The PaymentMethodChangeEvent interface of the Payment Request
describes the paymentmethodchange event which is fired by some
handlers when the user switches payment instruments (e.g., a
selects a \"store\" card to make a purchase while using Apple
raw docstring

constructorcljs

(constructor & args)

Constructor.

The PaymentMethodChangeEvent() constructor creates a new web.payments.PaymentMethodChangeEvent object providing details about a paymentmethodchange event.

type A web.DOMString which must contain the string paymentmethodchange, the name of the only type of event which uses the PaymentMethodChangeEvent interface. options Optional

An optional PaymentMethodChangeEventInit dictionary which may contain zero or more of the following properties:

methodName Optional A web.DOMString containing the payment method identifier for the payment handler being used. This is an empty string by default. methodDetails Optional An object providing payment method-specific information describing the changes made to the payment, or null if there is no additional information available or required. This is null by default.

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

Constructor.

The PaymentMethodChangeEvent() constructor creates a new `web.payments.PaymentMethodChangeEvent` object providing details about a paymentmethodchange event.

type
A `web.DOMString` which must contain the string paymentmethodchange, the name of the only type of event which uses the PaymentMethodChangeEvent interface.
options Optional

An optional `PaymentMethodChangeEventInit` dictionary which may contain zero or more of the following properties:


methodName Optional
A `web.DOMString` containing the payment method identifier for the payment handler being used. This is an empty string by default.
methodDetails Optional
An object providing payment method-specific information describing the changes made to the payment, or null if there is no additional information available or required. This is null by default.

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

method-detailscljs

(method-details this)

Property.

[Read Only]

web.payments.PaymentMethodChangeEvent interface is an object any data the payment handler may provide to describe the change user has made to their payment method.

details = paymentMethodChangeEvent.methodName;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaymentMethodChangeEvent/methodDetails

Property.

[Read Only]

`web.payments.PaymentMethodChangeEvent` interface is an object
any data the payment handler may provide to describe the change
user has made to their payment method.

`details = paymentMethodChangeEvent.methodName;`

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

method-namecljs

(method-name this)

Property.

[Read Only]

web.payments.PaymentMethodChangeEvent interface is a string uniquely identifies the payment handler currently selected by user.

var methodName = paymentMethodChangeEvent.methodName;

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

Property.

[Read Only]

`web.payments.PaymentMethodChangeEvent` interface is a string
uniquely identifies the payment handler currently selected by
user.

`var methodName = paymentMethodChangeEvent.methodName;`

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

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

× close