PaymentRequestUpdateEvent

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: Available only in secure contexts.

MDN Reference

Inheritors

Constructors

Link copied to clipboard
constructor(type: EventType<PaymentRequestUpdateEvent>, init: PaymentRequestUpdateEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
external val bubbles: Boolean
Link copied to clipboard
external val cancelable: Boolean
Link copied to clipboard
external val composed: Boolean
Link copied to clipboard
external val currentTarget: EventTarget?
Link copied to clipboard
Link copied to clipboard
external val eventPhase: EventPhase
Link copied to clipboard
external val isTrusted: Boolean
Link copied to clipboard
external val target: EventTarget?
Link copied to clipboard
Link copied to clipboard
open external override val type: EventType<PaymentRequestUpdateEvent>

Functions

Link copied to clipboard
Link copied to clipboard
external fun preventDefault()
Link copied to clipboard
Link copied to clipboard
external fun stopPropagation()
Link copied to clipboard
external fun updateWith(detailsPromise: PromiseLike<PaymentDetailsUpdate>)
external fun updateWith(detailsPromise: PaymentDetailsUpdate)

The updateWith() method of the PaymentRequestUpdateEvent interface updates the details of an existing PaymentRequest.