UNPKG

react-native-moyasar-sdk

Version:

Official React Native Moyasar SDK - Integrate Credit Cards, Apple Pay, Samsung Pay, and STC Pay with simple interfaces for a seamless payment experience in your React Native app

26 lines 942 B
import type { HostComponent, ViewProps } from 'react-native'; import type { DirectEventHandler, Double } from 'react-native/Libraries/Types/CodegenTypes'; export declare const SAMSUNG_PAY_BUTTON_COMPONENT_NAME = "RTNSamsungPayButton"; export interface MerchantInfo { serviceId: string; merchantName: string; merchantId: string; merchantCountryCode: string; amount: Double; currency: string; supportedNetworks: string[]; orderNumber?: string | null; /** Corner radius in DP unit */ buttonBorderRadius?: Double | null; } type SamsungPayPaymentResultEvent = { result: string; orderNumber: string; }; export interface NativeProps extends ViewProps { merchantInfo: MerchantInfo; onPaymentResult: DirectEventHandler<SamsungPayPaymentResultEvent>; } declare const _default: HostComponent<NativeProps>; export default _default; //# sourceMappingURL=RTNSamsungPayNativeComponent.android.d.ts.map