-
Notifications
You must be signed in to change notification settings - Fork 0
/
PaymentRequestUpdateEvent.cljs
29 lines (20 loc) · 1.13 KB
/
PaymentRequestUpdateEvent.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(ns web.payments.PaymentRequestUpdateEvent
"The PaymentRequestUpdateEvent interface is used for events sent
a `web.payments.PaymentRequest` instance when changes are made
shipping-related information for a pending `web.payments.PaymentRequest`.
events are:"
(:refer-clojure :exclude []))
(def constructor
"Constructor.
The PaymentRequestUpdateEvent constructor creates a new `web.payments.PaymentRequestUpdateEvent` object which enables a web page to update the details of a `web.payments.PaymentRequest` in response to a user action. Actual updates are made by passing options to the `updateWith()` method.
None.
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent`"
js/PaymentRequestUpdateEvent)
(defn update-with
"Method.
The updateWith() method of the `web.payments.PaymentRequestUpdateEvent`
updates the details of an existing `web.payments.PaymentRequest`.
`paymentRequestUpdateEvent.updateWith(details);`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/updateWith`"
[this details]
(-> this (.updateWith details)))