Documentation ¶
Index ¶
- type Client
- func (comp *Client) DownloadBill(requestDownload *power.RequestDownload, filePath string) (int64, error)
- func (comp *Client) GetFlowBill(date string, accountType string, tarType string) (*response.ResponseBillGet, error)
- func (comp *Client) GetTradeBill(date string, billType string, tarType string) (*response.ResponseBillGet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*payment.BaseClient
}
func NewClient ¶
func NewClient(app *payment.ApplicationPaymentInterface) *Client
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationPaymentInterface) *Client
func (*Client) DownloadBill ¶
func (comp *Client) DownloadBill(requestDownload *power.RequestDownload, filePath string) (int64, error)
https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_8.shtml
func (*Client) GetFlowBill ¶
func (comp *Client) GetFlowBill(date string, accountType string, tarType string) (*response.ResponseBillGet, error)
Get Flow Bill. https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_7.shtml
func (*Client) GetTradeBill ¶
func (comp *Client) GetTradeBill(date string, billType string, tarType string) (*response.ResponseBillGet, error)
Get Trade Bill. https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_6.shtml
Click to show internal directories.
Click to hide internal directories.