Documentation ¶
Index ¶
- type Client
- func (comp *Client) GetInvoiceInfo(ctx context.Context, cardID string, encryptCode string) (*response.ResponseInvoiceGetInfo, error)
- func (comp *Client) GetInvoiceInfoBatch(ctx context.Context, invoiceList []*request.RequestCardInvoice) (*response.ResponseInvoiceGetInfoBatch, error)
- func (comp *Client) UpdateInvoiceStatus(ctx context.Context, cardID string, encryptCode string, status string) (*response2.ResponseWork, error)
- func (comp *Client) UpdateStatusBatch(ctx context.Context, openid string, status string, ...) (*response2.ResponseWork, error)
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
Click to show internal directories.
Click to hide internal directories.