@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
15 lines (13 loc) • 629 B
text/typescript
import type { PaymentResponseAddressInterface } from './payment-response-address.interface';
import type { AndroidPaymentMethodToken } from '../@standard/android/response/android-payment-method-token';
import type { IosPKToken } from '../@standard/ios/response/ios-pk-token';
// TODO: Should we make this mo like
export interface PaymentResponseDetailsInterface {
androidPayToken: AndroidPaymentMethodToken;
applePayToken: IosPKToken;
billingAddress?: PaymentResponseAddressInterface;
payerEmail?: string;
payerName?: string;
payerPhone?: string;
shippingAddress?: PaymentResponseAddressInterface;
}