Documentation ¶
Index ¶
- type Client
- func (comp *Client) AddMerchant(ctx context.Context, mchID string, merchantName string) (*response2.ResponseWork, error)
- func (comp *Client) DelMerchant(ctx context.Context, mchID string) (*response2.ResponseWork, error)
- func (comp *Client) GetBillList(ctx context.Context, options *request.RequestExternalPayGetBillList) (*response.ResponseExternalPayGetBillList, error)
- func (comp *Client) GetMerchant(ctx context.Context, mchID string) (*response.ResponseExternalPayGetMerchant, error)
- func (comp *Client) SetMchUseScope(ctx context.Context, options *request.RequestExternalPaySetMchUseScope) (*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) AddMerchant ¶
func (comp *Client) AddMerchant(ctx context.Context, mchID string, merchantName string) (*response2.ResponseWork, error)
新增商户号 https://developer.work.weixin.qq.com/document/path/93666
func (*Client) DelMerchant ¶
删除商户号 https://developer.work.weixin.qq.com/document/path/93666
func (*Client) GetBillList ¶
func (comp *Client) GetBillList(ctx context.Context, options *request.RequestExternalPayGetBillList) (*response.ResponseExternalPayGetBillList, error)
获取对外收款记录 https://developer.work.weixin.qq.com/document/path/93667
func (*Client) GetMerchant ¶
func (comp *Client) GetMerchant(ctx context.Context, mchID string) (*response.ResponseExternalPayGetMerchant, error)
查询商户号详情 https://developer.work.weixin.qq.com/document/path/93666
func (*Client) SetMchUseScope ¶
func (comp *Client) SetMchUseScope(ctx context.Context, options *request.RequestExternalPaySetMchUseScope) (*response2.ResponseWork, error)
设置商户号使用范围 https://developer.work.weixin.qq.com/document/path/93666
Click to show internal directories.
Click to hide internal directories.