@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
16 lines (14 loc) • 613 B
text/typescript
import type { AndroidFullAddress } from './android-full-address';
import type { AndroidPaymentMethodData } from './android-payment-method-data';
/*
* https://developers.google.com/android/reference/com/google/android/gms/wallet/PaymentData
* https://developers.google.com/pay/api/android/reference/response-objects#PaymentData
*/
export interface AndroidPaymentData {
apiVersion: number;
apiVersionMinor: number;
email?: string;
paymentMethodData: AndroidPaymentMethodData;
// HINT: This field will be returned if request in the payment request
shippingAddress?: AndroidFullAddress;
}