profitSharing

package
v3.4.40 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 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, subMchID, subAppID string,
	receiverType string, account string, name string,
	relationType string, customRelation string) (*response.ResponseProfitSharingAddReceiver, error)

添加分账接收方 普通商户:https://pay.weixin.qq.com/doc/v3/merchant/4012528995 服务商:https://pay.weixin.qq.com/doc/v3/partner/4012690944

func (*Client) DeleteReceiver

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

删除分账接收方 普通商户:https://pay.weixin.qq.com/doc/v3/merchant/4012529590 服务商:https://pay.weixin.qq.com/doc/v3/partner/4012466868

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, outOrderNO string) (*response.ResponseProfitSharingOrder, error)

func (*Client) QueryReturn

func (comp *Client) QueryReturn(ctx context.Context, outOrderNO, outReturnNO string) (*response.ResponseProfitSharingReturnOrders, error)

func (*Client) QueryTransactions

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

func (*Client) ReturnOrders added in v3.4.22

func (*Client) Share

func (*Client) UnfreezeOrders

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