transfer

package
v2.0.1-beta16 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 9 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(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(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(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(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(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(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(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(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(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(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