@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
10 lines • 510 B
JavaScript
import { PaymentRequestUpdateEvent } from '../payment-request-update-event/payment-request-update-event.js';
// https://www.w3.org/TR/payment-request/#dom-paymentmethodchangeevent
export class PaymentMethodChangeEvent extends PaymentRequestUpdateEvent {
constructor(methodName, methodDetails, onUpdateWith) {
super('paymentmethodchange', onUpdateWith);
this.methodName = methodName;
this.methodDetails = methodDetails;
}
}
//# sourceMappingURL=payment-method-change-event.js.map