cloudpay

package
v1.2.54 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hipay2Agent added in v1.2.25

type Hipay2Agent struct {
}

func (Hipay2Agent) Pay added in v1.2.25

func (h Hipay2Agent) Pay(out_order_sn, amount string) (pay_url, order_sn string, err error)

func (Hipay2Agent) PayCallback added in v1.2.25

func (h Hipay2Agent) PayCallback(body []byte) (out_order_sn, amount string, err error)

func (Hipay2Agent) Withdrew added in v1.2.25

func (h Hipay2Agent) Withdrew(out_order_sn, bank_name, bank_account, amount, payee string) (order_sn string, err error)

func (Hipay2Agent) WithdrewCallback added in v1.2.25

func (h Hipay2Agent) WithdrewCallback(body []byte) (out_order_sn, amount string, err error)

type Hipay3Agent added in v1.2.11

type Hipay3Agent struct {
}

func (Hipay3Agent) Pay added in v1.2.11

func (mypay Hipay3Agent) Pay(out_order_sn, amount string) (pay_url, order_sn string, err error)

func (Hipay3Agent) PayCallback added in v1.2.11

func (mypay Hipay3Agent) PayCallback(body []byte) (out_order_sn, amount string, err error)

func (Hipay3Agent) Withdrew added in v1.2.11

func (mypay Hipay3Agent) Withdrew(out_order_sn, bank_name, bank_account, amount, payee string) (order_sn string, err error)

func (Hipay3Agent) WithdrewCallback added in v1.2.11

func (mypay Hipay3Agent) WithdrewCallback(body []byte) (out_order_sn, amount string, err error)

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, payee 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, payee 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