@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
11 lines (9 loc) • 395 B
text/typescript
import type { PaymentItem } from './payment-item';
import type { SupportedNetworkEnum } from '../../enum/supported-networks.enum';
// https://www.w3.org/TR/payment-request/#paymentdetailsmodifier-dictionary
export interface PaymentDetailsModifier {
additionalDisplayItems: PaymentItem[];
// TODO: Add type
data: Record<string, string>;
supportedMethods: SupportedNetworkEnum;
}