profitSharing

package
v3.2.44 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 7 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(
	ctx context.Context,
	receiverType string, account string, name string,
	relationType string, customRelation string) (*response.ResponseProfitSharingAddReceiver, error)

Add Receiver. https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_8.shtml

func (*Client) DeleteReceiver

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

func (*Client) GetBills

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

func (*Client) Query

func (comp *Client) Query(ctx context.Context, 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(ctx context.Context, outOrderNO string, outReturnNO string) (*response.ResponseProfitSharingReturnOrder, error)

func (*Client) QueryTransactions

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

func (*Client) UnfreezeOrders

func (comp *Client) UnfreezeOrders(ctx context.Context, 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