@enable-tech/shared-types
Version:
This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.
19 lines • 1.01 kB
TypeScript
import { T_PaymentGatewayWithRedirection } from '../../common';
import { Dispatch, SetStateAction } from 'react';
export type T_PaymentPreferencesContext = {
selectedRedirectionGateway?: T_PaymentGatewayWithRedirection;
setSelectedRedirectionGateway: Dispatch<SetStateAction<T_PaymentGatewayWithRedirection | undefined>>;
myFatoorahRedirectionAPIKey?: string;
setMyFatoorahRedirectionAPIKey: Dispatch<SetStateAction<string | undefined>>;
myFatoorahWebhookKey?: string;
setMyFatoorahWebhookKey: Dispatch<SetStateAction<string | undefined>>;
dibsyRedirectionSecretKey?: string;
setDibsyRedirectionSecretKey: Dispatch<SetStateAction<string | undefined>>;
isMyFatoorahRedirectionSelected?: boolean;
isDibsyRedirectionSelected?: boolean;
isAnyRedirectionMethodSelected?: boolean;
tapRedirectionSecretKey?: string;
setTapRedirectionSecretKey: Dispatch<SetStateAction<string | undefined>>;
isTapRedirectionSelected?: boolean;
};
//# sourceMappingURL=index.d.ts.map