invoice

package
v2.0.1-beta20 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kernel.BaseClient
}

func RegisterProvider

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

func (*Client) GetInvoiceInfo

func (comp *Client) GetInvoiceInfo(cardID string, encryptCode string) (*response.ResponseInvoiceGetInfo, error)

查询电子发票 https://open.work.weixin.qq.com/api/doc/90000/90135/90284

func (*Client) GetInvoiceInfoBatch

func (comp *Client) GetInvoiceInfoBatch(invoiceList []*request.RequestCardInvoice) (*response.ResponseInvoiceGetInfoBatch, error)

批量查询电子发票 https://open.work.weixin.qq.com/api/doc/90000/90135/90287

func (*Client) UpdateInvoiceStatus

func (comp *Client) UpdateInvoiceStatus(cardID string, encryptCode string, status string) (*response2.ResponseWork, error)

更新发票状态 https://open.work.weixin.qq.com/api/doc/90000/90135/90285

func (*Client) UpdateStatusBatch

func (comp *Client) UpdateStatusBatch(openid string, status string, invoiceList []*request.RequestCardInvoice) (*response2.ResponseWork, error)

批量更新发票状态 https://open.work.weixin.qq.com/api/doc/90000/90135/90286

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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