forked from smartwalle/alipay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bill.go
19 lines (16 loc) · 973 Bytes
/
bill.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package alipay
// BillDownloadURLQuery 查询对账单下载地址接口 https://docs.open.alipay.com/api_15/alipay.data.dataservice.bill.downloadurl.query
func (this *Client) BillDownloadURLQuery(param BillDownloadURLQuery) (result *BillDownloadURLQueryRsp, err error) {
err = this.doRequest("POST", param, &result)
return result, err
}
// BillBalanceQuery 支付宝商家账户当前余额查询接口 https://opendocs.alipay.com/apis/api_15/alipay.data.bill.balance.query
func (this *Client) BillBalanceQuery(param BillBalanceQuery) (result *BillBalanceQueryRsp, err error) {
err = this.doRequest("POST", param, &result)
return result, err
}
// BillAccountLogQuery 查询账户账务明细接口请求参数 https://opendocs.alipay.com/apis/api_15/alipay.data.bill.accountlog.query
func (this *Client) BillAccountLogQuery(param BillAccountLogQuery) (result *BillAccountLogQueryRsp, err error) {
err = this.doRequest("POST", param, &result)
return result, err
}