Documentation ¶
Index ¶
- type Client
- func (comp *Client) AddReceiver(receiverType string, account string, name string, relationType string, ...) (*response.ResponseProfitSharingAddReceiver, error)
- func (comp *Client) DeleteReceiver(receiverType string, account string) (*response.ResponseProfitSharingDeleteReceiver, error)
- func (comp *Client) GetBills(subMchID string, billDate string, tarType string) (*response.ResponseProfitSharingGetBills, error)
- func (comp *Client) Query(transactionID string, outOrderNO string) (*response.ResponseProfitSharingOrder, error)
- func (comp *Client) QueryReturn(outOrderNO string, outReturnNO string) (*response.ResponseProfitSharingReturnOrder, error)
- func (comp *Client) QueryTransactions(transactionID string) (*response.ResponseProfitSharingTransaction, error)
- func (comp *Client) Share(param *request.RequestShare) (*response.ResponseProfitSharingOrder, error)
- func (comp *Client) UnfreezeOrders(transactionID string, outOrderNO string, description string) (*response.ResponseProfitSharingOrder, 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) AddReceiver ¶
func (*Client) DeleteReceiver ¶
func (*Client) Query ¶
func (comp *Client) Query(transactionID string, outOrderNO string) (*response.ResponseProfitSharingOrder, error)
Query Profit Sharing Result. https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_2.shtml
func (*Client) QueryReturn ¶
func (*Client) QueryTransactions ¶
func (comp *Client) QueryTransactions(transactionID string) (*response.ResponseProfitSharingTransaction, error)
func (*Client) Share ¶
func (comp *Client) Share(param *request.RequestShare) (*response.ResponseProfitSharingOrder, error)
Share Orders. https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_1.shtml
func (*Client) UnfreezeOrders ¶
Click to show internal directories.
Click to hide internal directories.