cloudpay

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullPay

type NullPay struct {
}

func (NullPay) Pay

func (this NullPay) Pay(out_order_sn, amount string) (pay_url, order_sn string, err error)

func (NullPay) PayCallback

func (this NullPay) PayCallback(body []byte) (out_order_sn, amount string, err error)

func (NullPay) Withdrew

func (this NullPay) Withdrew(out_order_sn, bacnk_name, bank_account, amount, output_name string) (order_sn string, err error)

func (NullPay) WithdrewCallback

func (this NullPay) WithdrewCallback(body []byte) (out_order_sn, amount string, err error)

type PayInterface

type PayInterface interface {
	Pay(out_order_sn, amount string) (pay_url, order_sn string, err error)
	PayCallback(body []byte) (out_order_sn, amount string, err error)

	Withdrew(out_order_sn, bank_name, bank_account, amount, output_name string) (order_sn string, err error)
	WithdrewCallback(body []byte) (out_order_sn, amount string, err error)
}

func Select

func Select(name string) PayInterface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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