externalPay

package
v2.0.1-beta26 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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 NewClient

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

func RegisterProvider

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

func (*Client) AddMerchant

func (comp *Client) AddMerchant(mchID string, merchantName string) (*response2.ResponseWork, error)

新增商户号 https://work.weixin.qq.com/api/doc/90000/90135/93666

func (*Client) DelMerchant

func (comp *Client) DelMerchant(mchID string) (*response2.ResponseWork, error)

删除商户号 https://work.weixin.qq.com/api/doc/90000/90135/93666

func (*Client) GetMerchant

func (comp *Client) GetMerchant(mchID string) (*response.ResponseExternalPayGetMerchant, error)

查询商户号详情 https://work.weixin.qq.com/api/doc/90000/90135/93666

func (*Client) SetMchUseScope

func (comp *Client) SetMchUseScope(options *request.RequestExternalPaySetMchUseScope) (*response2.ResponseWork, error)

设置商户号使用范围 https://work.weixin.qq.com/api/doc/90000/90135/93666

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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