react-native-cashfree-pg-sdk
Version:
Cashfree PG Plugin for React Native
13 lines (12 loc) • 567 B
TypeScript
import { TextInputProps } from 'react-native';
import { type CFSubscriptionSession, ElementCard } from 'cashfree-pg-api-contract';
export type SubsCardPaymentHandle = {
doSubscriptionPayment: (cardInfo: ElementCard) => void;
doSubscriptionPaymentWithNewSession: (cardInfo: ElementCard, cfSubscriptionSession: CFSubscriptionSession) => void;
};
export type SubsCardInputProps = {
cfSubscriptionSession: CFSubscriptionSession;
cardListener: (response: string) => void;
} & TextInputProps;
declare const SubsCardInput: any;
export default SubsCardInput;