Documentation
¶
Index ¶
- type Client
- func (comp *Client) ApplyForElecSign(ctx context.Context, outBillNO string) (*response.ResponseApplyForElecSign, error)
- func (comp *Client) ApplyForElecSignByTransferBillNo(ctx context.Context, transferBillNO string) (*response.ResponseApplyForElecSign, error)
- func (comp *Client) Cancel(ctx context.Context, outBillNO string) (*response.ResponseCancelBill, error)
- func (comp *Client) DownloadElecSignToFilePath(ctx context.Context, requestDownload *power.RequestDownload, filePath string) (int64, error)
- func (comp *Client) QueryElecSign(ctx context.Context, outBillNO string) (*response.ResponseQueryElecSign, error)
- func (comp *Client) QueryElecSignByTransferBillNo(ctx context.Context, transferBillNO string) (*response.ResponseQueryElecSign, error)
- func (comp *Client) QueryOutBill(ctx context.Context, outBillNO string) (*response.ResponseQueryOutBill, error)
- func (comp *Client) QueryTransferBill(ctx context.Context, transferBillNO string) (*response.ResponseQueryTransferBill, error)
- func (comp *Client) TransferBills(ctx context.Context, data *request.RequestTransferBills) (*response.ResponseTransferBills, error)
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) ApplyForElecSign ¶
func (comp *Client) ApplyForElecSign(ctx context.Context, outBillNO string) (*response.ResponseApplyForElecSign, error)
商户单号申请电子回单 https://pay.weixin.qq.com/doc/v3/merchant/4012716452
func (*Client) ApplyForElecSignByTransferBillNo ¶
func (comp *Client) ApplyForElecSignByTransferBillNo(ctx context.Context, transferBillNO string) (*response.ResponseApplyForElecSign, error)
微信单号申请电子回单 https://pay.weixin.qq.com/doc/v3/merchant/4012716456
func (*Client) Cancel ¶
func (*Client) DownloadElecSignToFilePath ¶
func (*Client) QueryElecSign ¶
func (comp *Client) QueryElecSign(ctx context.Context, outBillNO string) (*response.ResponseQueryElecSign, error)
商户单号查询电子回单 https://pay.weixin.qq.com/doc/v3/merchant/4012716436
func (*Client) QueryElecSignByTransferBillNo ¶
func (comp *Client) QueryElecSignByTransferBillNo(ctx context.Context, transferBillNO string) (*response.ResponseQueryElecSign, error)
微信单号查询电子回单 https://pay.weixin.qq.com/doc/v3/merchant/4012716455
func (*Client) QueryOutBill ¶
func (comp *Client) QueryOutBill(ctx context.Context, outBillNO string) (*response.ResponseQueryOutBill, error)
商户单号查询转账单 https://pay.weixin.qq.com/doc/v3/merchant/4012716437
func (*Client) QueryTransferBill ¶
func (comp *Client) QueryTransferBill(ctx context.Context, transferBillNO string) (*response.ResponseQueryTransferBill, error)
微信单号查询转账单 https://pay.weixin.qq.com/doc/v3/merchant/4012716457
func (*Client) TransferBills ¶
func (comp *Client) TransferBills(ctx context.Context, data *request.RequestTransferBills) (*response.ResponseTransferBills, error)
Click to show internal directories.
Click to hide internal directories.