invoice

package
v3.2.45 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 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 {
	BaseClient *kernel.BaseClient
}

func RegisterProvider

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

func (*Client) GetInvoiceInfo

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

查询电子发票 https://developer.work.weixin.qq.com/document/path/90284

func (*Client) GetInvoiceInfoBatch

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

批量查询电子发票 https://developer.work.weixin.qq.com/document/path/90287

func (*Client) UpdateInvoiceStatus

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

更新发票状态 https://developer.work.weixin.qq.com/document/path/90285

func (*Client) UpdateStatusBatch

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

批量更新发票状态 https://developer.work.weixin.qq.com/document/path/90286

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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