UNPKG

coa-wx-pay-isv

Version:

轻量的的微信支付SDK服务商版 for Node.js

44 lines (43 loc) 1.1 kB
import { CoaWxPayIsvBin } from '../lib/CoaWxPayIsvBin'; export declare class CoaWxPayIsvService { private readonly bin; constructor(bin: CoaWxPayIsvBin); decodeInfo(encodeString: string): Promise<{ [key: string]: any; }>; getPaymentParams(data: { appWxaId: string; prepayId: string; }): any; unifiedOrder(data: { accountId: string; orderId: string; price: number; appWxaId: string; subMchId: string; openId: string; body: string; }): Promise<any>; payRefund(data: { accountId: string; refundId: string; orderId: string; totalPrice: number; refundPrice: number; rawData: any; }): Promise<any>; queryOrder(data: { orderId: string; appWxaId: string; subMchId: string; }): Promise<any>; queryRefund(data: { orderId: string; refundId: string; appWxaId: string; subMchId: string; }): Promise<any>; downloadBill(data: { date: string; }): Promise<any>; }