updateWith

fun updateWith(detailsPromise: PaymentDetailsUpdate)(source)

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

MDN Reference