order

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	*config.Config
}

Order 下单相关实例

func NewOrder

func NewOrder(c *config.Config) *Order

NewOrder 获取下单实例

func (*Order) Close

func (order *Order) Close(params util.Params) (*base.Response, error)

Close 关闭订单

func (*Order) MicroPay

func (order *Order) MicroPay(params util.Params) (*base.Response, error)

MicroPay 付款码支付

func (*Order) Query

func (order *Order) Query(params util.Params) (*base.Response, error)

Query 查询订单

func (*Order) Reverse

func (order *Order) Reverse(params util.Params) (*base.Response, error)

Reverse 撤销订单

func (*Order) Unify

func (order *Order) Unify(params util.Params) (*base.Response, error)

Unify 统一下单

Jump to

Keyboard shortcuts

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