@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
15 lines (13 loc) • 576 B
text/typescript
import type { PaymentResponseAddressInterface } from './payment-response-address.interface.js';
import type { PaymentResponseDetailsInterface } from './payment-response-details.interface.js';
import type { Maybe } from '@rnw-community/shared';
export interface PaymentResponseJsonInterface {
details: PaymentResponseDetailsInterface;
methodName: string;
payerEmail: Maybe<string>;
payerName: Maybe<string>;
payerPhone: Maybe<string>;
requestId: string;
shippingAddress: Maybe<PaymentResponseAddressInterface>;
shippingOption: Maybe<string>;
}