Documentation ¶
Index ¶
- type Client
- func (comp *Client) QueryBalanceOrder(partnerTradeNo string) (*response.ResponseGetTransferInfo, error)
- func (comp *Client) QueryBankCardOrder(partnerTradeNo string) (*response.ResponseGetTransferInfo, error)
- func (comp *Client) ToBalance(data *request.RequestTransferToBalance) (*response.ResponseTransferToBalance, error)
- func (comp *Client) ToBankCard(data *request.RequestToBankCard) (*response.ResponseTransfer, 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) QueryBalanceOrder ¶
func (comp *Client) QueryBalanceOrder(partnerTradeNo string) (*response.ResponseGetTransferInfo, error)
Query MerchantPay to balance. https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_3
func (*Client) QueryBankCardOrder ¶
func (comp *Client) QueryBankCardOrder(partnerTradeNo string) (*response.ResponseGetTransferInfo, error)
Query MerchantPay order to BankCard. https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_3
func (*Client) ToBalance ¶
func (comp *Client) ToBalance(data *request.RequestTransferToBalance) (*response.ResponseTransferToBalance, error)
Send MerchantPay to balance. https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_2
func (*Client) ToBankCard ¶
func (comp *Client) ToBankCard(data *request.RequestToBankCard) (*response.ResponseTransfer, error)
Send MerchantPay to BankCard. https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_2
Click to show internal directories.
Click to hide internal directories.