@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
9 lines • 624 B
TypeScript
import { PaymentRequestUpdateEvent } from '../payment-request-update-event/payment-request-update-event.js';
import type { PaymentRequestUpdateHandler } from '../../type/payment-request-update-handler.type.js';
import type { Maybe } from '@rnw-community/shared';
export declare class PaymentMethodChangeEvent extends PaymentRequestUpdateEvent {
readonly methodDetails: Maybe<Record<string, unknown>>;
readonly methodName: string;
constructor(methodName: string, methodDetails: Maybe<Record<string, unknown>>, onUpdateWith: PaymentRequestUpdateHandler);
}
//# sourceMappingURL=payment-method-change-event.d.ts.map