pay

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 9

README

微信支付

官方文档

快速入门

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pay

type Pay struct {
	// contains filtered or unexported fields
}

Pay 微信支付相关API

func NewPay

func NewPay(cfg *config.Config) *Pay

NewPay 实例化微信支付相关API

func (*Pay) GetNotify

func (pay *Pay) GetNotify() *notify.Notify

GetNotify 通知

func (*Pay) GetOrder

func (pay *Pay) GetOrder() *order.Order

GetOrder 下单

func (*Pay) GetRefund added in v2.0.2

func (pay *Pay) GetRefund() *refund.Refund

GetRefund 退款

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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