pay

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package pay 支付

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 payment

func NewPay

func NewPay(ctx context.Context, cfg *config.Config) (*Pay, error)

NewPay create payment

func (*Pay) AsyncNotify

func (p *Pay) AsyncNotify() *asyncnotify.AsyncNotify

AsyncNotify async

func (*Pay) ContextConfig

func (p *Pay) ContextConfig() *credential.ContextConfig

ContextConfig context config

func (*Pay) Refund

func (p *Pay) Refund() *refund.Refund

Refund order cash

func (*Pay) Settle

func (p *Pay) Settle() *settle.Settle

Settle account cash

func (*Pay) Trade

func (p *Pay) Trade() *trade.Trade

Trade payment trade relation

func (*Pay) Withdraw

func (p *Pay) Withdraw() *withdraw.Withdraw

Withdraw cash

Directories

Path Synopsis
Package refund 退款
Package refund 退款
Package trade 交易
Package trade 交易

Jump to

Keyboard shortcuts

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