@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
10 lines • 728 B
TypeScript
import type { NativePaymentDetailsUpdateInterface } from './native-payment-details-update.interface.js';
import type { PaymentItem } from '../@standard/w3c/payment-item.js';
import type { PaymentShippingOption } from '../@standard/w3c/payment-shipping-option.js';
export interface NativePaymentsChangeEventsInterface {
addListener?: (eventName: string) => void;
removeListeners?: (count: number) => void;
setActiveEvents?: (requestId: string, eventNames: string[]) => Promise<void>;
updatePaymentDetails?: (update: NativePaymentDetailsUpdateInterface, displayItems: PaymentItem[], shippingOptions: PaymentShippingOption[]) => Promise<void>;
}
//# sourceMappingURL=native-payments-change-events.interface.d.ts.map