bill

package
v2.0.40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*payment.BaseClient
}

func RegisterProvider

func RegisterProvider(app kernel.ApplicationPaymentInterface) (*Client, error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL