bill

package
v3.0.0-beta10 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 6 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(ctx context.Context, 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(ctx context.Context, 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