UNPKG

node-wxpay3

Version:
22 lines (21 loc) 678 B
export interface IWxPay { appid: string; mch_id: string; key: string; pfx?: any; } export declare class WxPay2 { protected appid: string; protected mch_id: string; protected key: string; protected pfx: any; protected _params: any; constructor(obj: IWxPay); protected _joinotherParams(params: object): void; protected _checkParams(properties: string[]): void; protected _md5(params: any): string; protected _hmac(params: any): string; protected _jsontoxml(params: any): string; protected _xmltojson(params: string): object; protected _request(name: string, xml: string): Promise<object>; }