pay

package
v2.1.3-rc.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 10

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 退款

func (*Pay) GetTransfer added in v2.0.7

func (pay *Pay) GetTransfer() *transfer.Transfer

GetTransfer 付款

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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