profitSharing

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

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) AddReceiver

func (comp *Client) AddReceiver(
	receiverType string, account string, name string,
	relationType string, customRelation string) (*response.ResponseProfitSharingAddReceiver, error)

func (*Client) DeleteReceiver

func (comp *Client) DeleteReceiver(receiverType string, account string) (*response.ResponseProfitSharingDeleteReceiver, error)

func (*Client) GetBills

func (comp *Client) GetBills(subMchID string, billDate string, tarType string) (*response.ResponseProfitSharingGetBills, error)

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 (comp *Client) QueryReturn(outOrderNO string, outReturnNO string) (*response.ResponseProfitSharingReturnOrder, error)

func (*Client) QueryTransactions

func (comp *Client) QueryTransactions(transactionID string) (*response.ResponseProfitSharingTransaction, error)

func (*Client) UnfreezeOrders

func (comp *Client) UnfreezeOrders(transactionID string, outOrderNO string, description string) (*response.ResponseProfitSharingOrder, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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