Documentation ¶
Index ¶
- func CloseOrder(pxy *mch.Proxy, req map[string]string) (resp map[string]string, err error)
- func CopyBuffer(dst io.Writer, src io.Reader, buf []byte) (written int64, err error)
- func DownloadBill(filepath string, req map[string]string, httpClient *http.Client) (written int64, err error)
- func DownloadBillToWriter(writer io.Writer, req map[string]string, httpClient *http.Client) (written int64, err error)
- func MicroPay(pxy *mch.Proxy, req map[string]string) (resp map[string]string, err error)
- func OrderQuery(pxy *mch.Proxy, req map[string]string) (resp map[string]string, err error)
- func Refund(pxy *mch.Proxy, req map[string]string) (resp map[string]string, err error)
- func RefundQuery(pxy *mch.Proxy, req map[string]string) (resp map[string]string, err error)
- func Reverse(pxy *mch.Proxy, req map[string]string) (resp map[string]string, err error)
- func UnifiedOrder(pxy *mch.Proxy, req map[string]string) (resp map[string]string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseOrder ¶
关闭订单.
func CopyBuffer ¶
CopyBuffer is identical to Copy except that it stages through the provided buffer (if one is required) rather than allocating a temporary one. If buf is nil, one is allocated; otherwise if it has zero length, CopyBuffer panics.
func DownloadBill ¶
func DownloadBill(filepath string, req map[string]string, httpClient *http.Client) (written int64, err error)
下载对账单到到文件.
func DownloadBillToWriter ¶
func DownloadBillToWriter(writer io.Writer, req map[string]string, httpClient *http.Client) (written int64, err error)
下载对账单到 io.Writer.
func OrderQuery ¶
查询订单.
func RefundQuery ¶
查询退款.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.