UNPKG

shepa

Version:

Shepa is a online payment gateway

9 lines (8 loc) 441 B
import { Payment } from './Payment'; import UserInfo from './model/UserInfo'; import { RequestMethod } from './RequestMethod'; export declare abstract class Driver implements Payment { request(url: string, method: RequestMethod, data?: object): Promise<any>; abstract send(apiKey: string, amount: number, userInfo?: UserInfo): Promise<any>; abstract verify(apiKey: string, token: string, amount: number): Promise<any>; }