pay

package
v1.0.2 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: 0

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 v0.2.6

func (pay *Pay) GetRedPacket() *redpacket.RedPacket

GetRedPacket 红包

func (*Pay) GetRefund

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

GetRefund 退款

func (*Pay) GetTransfer

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