Documentation ¶
Index ¶
- type Client
- func (comp *Client) Info(mchBillNO string) (*response.ResponseSendNormal, error)
- func (comp *Client) SendGroup(params *request.RequestSendGroupRedPack) (*response.ResponseSendGroupRedPack, error)
- func (comp *Client) SendNormal(params *request.RequestSendRedPack) (*response.ResponseSendNormal, 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 NewClient ¶
func NewClient(app *payment.ApplicationPaymentInterface) *Client
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationPaymentInterface) *Client
func (*Client) Info ¶
func (comp *Client) Info(mchBillNO string) (*response.ResponseSendNormal, error)
Query Red Pack. https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapter=13_6&index=5
func (*Client) SendGroup ¶
func (comp *Client) SendGroup(params *request.RequestSendGroupRedPack) (*response.ResponseSendGroupRedPack, error)
Send Group redpack. https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapter=13_5&index=4
func (*Client) SendNormal ¶
func (comp *Client) SendNormal(params *request.RequestSendRedPack) (*response.ResponseSendNormal, error)
Send Normal redpack. https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapter=13_4&index=3
Click to show internal directories.
Click to hide internal directories.