coa-allin-pay
Version:
通联支付SDK for Node.js
22 lines (21 loc) • 692 B
TypeScript
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 {};