reverse

package
v3.1.15 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 5 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) ByOutTradeNumber

func (comp *Client) ByOutTradeNumber(ctx context.Context, outTradeNumber string) (*response.ResponseReserve, error)

Reverse order by out trade number. https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_11&index=3

func (*Client) ByTransactionId

func (comp *Client) ByTransactionId(ctx context.Context, transactionID string) (*response.ResponseReserve, error)

Reverse order by transaction_id. https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_11&index=3

func (*Client) Reverse

func (comp *Client) Reverse(ctx context.Context, number string, reverseType string) (*response.ResponseReserve, error)

Reverse order. https://pay.weixin.qq.com/wiki/doc/api/micropa

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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