Class PaymentRequestUpdateEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The PaymentRequestUpdateEvent interface is used for events sent to a PaymentRequest instance when changes are made to shipping-related information for a pending PaymentRequest. Those events are:
[Value("PaymentRequestUpdateEvent")]
public class PaymentRequestUpdateEvent : Event
- Inheritance
-
PaymentRequestUpdateEvent
- Derived
- Inherited Members
Remarks
Constructors
PaymentRequestUpdateEvent()
public PaymentRequestUpdateEvent()
PaymentRequestUpdateEvent(string, PaymentRequestUpdateEventInit)
The PaymentRequestUpdateEvent() constructor creates a new
PaymentRequestUpdateEvent object which enables a web page to update the
details of a PaymentRequest in response to a user action. Actual updates
are made by passing options to the
'PaymentRequestUpdateEvent.UpdateWith' method.
public PaymentRequestUpdateEvent(string type, PaymentRequestUpdateEventInit eventInitDict = null)
Parameters
typestringeventInitDictPaymentRequestUpdateEventInit
Remarks
Methods
UpdateWith(Task<PaymentDetailsUpdate>)
The updateWith() method of the
PaymentRequestUpdateEvent interface updates the details of an existing
PaymentRequest.
[Value("updateWith")]
public GlobalObject.Undefined UpdateWith(Task<PaymentDetailsUpdate> detailsPromise)
Parameters
detailsPromiseTask<PaymentDetailsUpdate>