@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
6 lines (4 loc) • 389 B
text/typescript
import type { AndroidPaymentMethodDataInterface } from '../android/mapping/android-payment-method-data.interface';
import type { IosPaymentMethodDataInterface } from '../ios/mapping/ios-payment-method-data.interface';
// https://www.w3.org/TR/payment-request/#paymentmethoddata-dictionary
export type PaymentMethodData = AndroidPaymentMethodDataInterface | IosPaymentMethodDataInterface;