pay

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 6 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) GetRedpacket added in v2.1.6

func (pay *Pay) GetRedpacket() *redpacket.Redpacket

GetRedpacket 红包

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