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