pay

package
v0.0.0-...-f8d7cd1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WechatPay

type WechatPay struct {
	WechatClient wechat.WechatClient
	Err          error
}

func NewWechatPay

func NewWechatPay() *WechatPay

func (*WechatPay) CreateJSSDKOrder

func (w *WechatPay) CreateJSSDKOrder(mch *model.Merchant, order *model.Order) (*wechat2.JSAPIPayParams, error)

func (*WechatPay) CreateNaviteOrder

func (w *WechatPay) CreateNaviteOrder(mch *model.Merchant, order *model.Order) (string, error)

func (*WechatPay) WechatService

func (w *WechatPay) WechatService(mch *model.Merchant) *WechatPay

Jump to

Keyboard shortcuts

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