UNPKG

capacitor-plugin-cashfree-pg

Version:

A modern Capacitor plugin for Cashfree Payment Gateway with official API contract support

9 lines (8 loc) 576 B
import { WebPlugin } from '@capacitor/core'; import type { CheckoutPayment } from 'cashfree-pg-api-contract'; import type { CFPaymentGatewayPlugin, CFPaymentResult } from './definitions'; export declare class CFPaymentGatewayWeb extends WebPlugin implements CFPaymentGatewayPlugin { doWebCheckoutPayment(webCheckoutPaymentObject: CheckoutPayment): Promise<CFPaymentResult>; doUPIPayment(upiCheckoutPaymentObjections: CheckoutPayment): Promise<CFPaymentResult>; doSubscriptionPayment(subscriptionCheckoutPaymentObject: CheckoutPayment): Promise<CFPaymentResult>; }