@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
17 lines • 673 B
TypeScript
import type { PaymentShippingTypeEnum } from '../enum/payment-shipping-type.enum.js';
import type { SupportedNetworkEnum } from '../enum/supported-networks.enum.js';
/**
* Common PaymentMethod data field shared across platforms
*/
export interface GenericPaymentMethodDataDataInterface {
countryCode?: string;
currencyCode: string;
requestBillingAddress?: boolean;
requestPayerEmail?: boolean;
requestPayerName?: boolean;
requestPayerPhone?: boolean;
requestShipping?: boolean;
shippingType?: PaymentShippingTypeEnum;
supportedNetworks: SupportedNetworkEnum[];
}
//# sourceMappingURL=generic-payment-method-data-data.interface.d.ts.map