UNPKG

coa-allin-pay

Version:
22 lines (21 loc) 692 B
import { AllinPaySyb } from '../typings'; interface Dic<T> { [key: string]: T; } export declare class AllinPaySybBin { readonly config: AllinPaySyb.Config; protected readonly thresholdTooLong: number; constructor(config: AllinPaySyb.Config); request(service: string, method: string, param: Dic<any>): Promise<any>; onBackReceive(body: any): void; onRequest(param: any, response: any): void; onRequestError(param: any, response: any, error: any): void; onRequestTooLong(_param: any, _response: any, time: { startAt: number; endAt: number; }): void; private handleResult; private getSourceStr; private getParams; } export {};