@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
12 lines • 706 B
TypeScript
import type { PaymentDetailsUpdate } from '../../@standard/w3c/payment-details-update.js';
import type { PaymentRequestEventType } from '../../type/payment-request-event.type.js';
import type { PaymentRequestUpdateHandler } from '../../type/payment-request-update-handler.type.js';
export declare class PaymentRequestUpdateEvent {
readonly type: PaymentRequestEventType;
private isUpdated;
private readonly onUpdateWith;
constructor(type: PaymentRequestEventType, onUpdateWith: PaymentRequestUpdateHandler);
get isAnswered(): boolean;
updateWith(detailsUpdate: PaymentDetailsUpdate | Promise<PaymentDetailsUpdate>): void;
}
//# sourceMappingURL=payment-request-update-event.d.ts.map