transfer

package
v3.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type BatchClient

type BatchClient struct {
	*payment.BaseClient
	Version string
}

func (*BatchClient) BillReceipt

func (comp *BatchClient) BillReceipt(ctx context.Context, outBatchNO string) (*response.ResponseTrasferBillReceipt, error)

转账电子回单申请受理API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_7.shtml

func (*BatchClient) ElectronicReceipts

func (comp *BatchClient) ElectronicReceipts(ctx context.Context, acceptType string, outBatchNO string, outDetailNO string) (*response.ResponseTrasferElectronicReceipts, error)

转账明细电子回单受理API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_9.shtml

func (*BatchClient) QueryBatch

func (comp *BatchClient) QueryBatch(ctx context.Context, batchID string, needQueryDetail bool, offset int, limit int, detailStatus string) (*response.ResponseTrasferQueryBatch, error)

微信批次单号查询批次单AP https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_2.shtml

func (*BatchClient) QueryBatchDetail

func (comp *BatchClient) QueryBatchDetail(ctx context.Context, batchID string, detailID string) (*response.TransferBatch, error)

微信明细单号查询明细单API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_3.shtml

func (*BatchClient) QueryBillReceipt

func (comp *BatchClient) QueryBillReceipt(ctx context.Context, outBatchNO string) (*response.ResponseTrasferBillReceipt, error)

查询转账电子回单API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_8.shtml

func (*BatchClient) QueryElectronicReceipts

func (comp *BatchClient) QueryElectronicReceipts(ctx context.Context, acceptType string, outBatchNO string, outDetailNO string) (*response.ResponseTrasferElectronicReceipts, error)

查询转账明细电子回单受理结果API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_10.shtml

func (*BatchClient) QueryOutBatchNO

func (comp *BatchClient) QueryOutBatchNO(ctx context.Context, outBatchNO string, needQueryDetail bool, offset int, limit int, detailStatus string) (*response.ResponseTrasferQueryOutBatchNO, error)

商家批次单号查询批次单API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_5.shtml

func (*BatchClient) QueryOutBatchNoDetail

func (comp *BatchClient) QueryOutBatchNoDetail(ctx context.Context, outBatchNO string, outDetailNO string) (*response.ResponseOutBatchNODetail, error)

商家明细单号查询明细单API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_6.shtml

type Client

type Client struct {
	*payment.BaseClient
}

func (*Client) DownloadSignFile

func (comp *Client) DownloadSignFile(requestDownload *power.RequestDownload, filePath string) (int64, error)

下载电子回单API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_11.shtml

func (*Client) QueryBalanceOrder

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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