@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
13 lines (11 loc) • 563 B
text/typescript
import type { PaymentItem } from '../@standard/w3c/payment-item.js';
import type { PaymentDetailsUpdateError } from '../type/payment-details-update-error.type.js';
import type { PaymentRequestEventType } from '../type/payment-request-event.type.js';
// Feeds the PassKit sheet update: https://developer.apple.com/documentation/passkit/pkpaymentrequestupdate
export interface NativePaymentDetailsUpdateInterface {
error: PaymentDetailsUpdateError;
eventId?: number;
eventName: PaymentRequestEventType;
requestId: string;
total: PaymentItem;
}