order

package
v2.0.24 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 8 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) JSAPITransaction

func (comp *Client) JSAPITransaction(params *request.RequestJSAPIPrepay) (*response.ResponseUnitfy, error)

JSAPI pay transaction. 小程序支付 https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_1.shtml

func (*Client) PayTransaction

func (comp *Client) PayTransaction(entryPoint string, params request.Prepay, result interface{}) (interface{}, error)

func (*Client) Query

func (comp *Client) Query(params *object.HashMap) (*response.ResponseOrder, error)

func (*Client) QueryByOutTradeNumber

func (comp *Client) QueryByOutTradeNumber(transactionID string) (*response.ResponseOrder, error)

func (*Client) QueryByTransactionId

func (comp *Client) QueryByTransactionId(number string) (*response.ResponseOrder, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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