Documentation ¶
Index ¶
- type Client
- func (comp *Client) ApplyForBusiness(ctx context.Context, params *request.RequestApplyForBusiness) (*response.ResponseApplyForBusiness, error)
- func (comp *Client) GetApplyByApplymentId(ctx context.Context, applymentId string) (*response.ResponseGetApplyForBusiness, error)
- func (comp *Client) GetApplyByBusinessCode(ctx context.Context, businessCode string) (*response.ResponseGetApplyForBusiness, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*payment.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationPaymentInterface) (*Client, error)
func (*Client) ApplyForBusiness ¶
func (comp *Client) ApplyForBusiness(ctx context.Context, params *request.RequestApplyForBusiness) (*response.ResponseApplyForBusiness, error)
特约商户进件 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_1.shtml
func (*Client) GetApplyByApplymentId ¶ added in v3.2.50
func (comp *Client) GetApplyByApplymentId(ctx context.Context, applymentId string) (*response.ResponseGetApplyForBusiness, error)
通过申请单号查询申请状态 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_2.shtml
func (*Client) GetApplyByBusinessCode ¶ added in v3.2.50
func (comp *Client) GetApplyByBusinessCode(ctx context.Context, businessCode string) (*response.ResponseGetApplyForBusiness, error)
通过业务申请编号查询申请状态 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_2.shtml
Click to show internal directories.
Click to hide internal directories.