Documentation ¶
Index ¶
- type Hipay2Agent
- func (h Hipay2Agent) Pay(out_order_sn, amount string) (pay_url, order_sn string, err error)
- func (h Hipay2Agent) PayCallback(body []byte) (out_order_sn, amount string, err error)
- func (h Hipay2Agent) Withdrew(out_order_sn, bank_name, bank_account, amount, payee string) (order_sn string, err error)
- func (h Hipay2Agent) WithdrewCallback(body []byte) (out_order_sn, amount string, err error)
- type Hipay3Agent
- func (mypay Hipay3Agent) Pay(out_order_sn, amount string) (pay_url, order_sn string, err error)
- func (mypay Hipay3Agent) PayCallback(body []byte) (out_order_sn, amount string, err error)
- func (mypay Hipay3Agent) Withdrew(out_order_sn, bank_name, bank_account, amount, payee string) (order_sn string, err error)
- func (mypay Hipay3Agent) WithdrewCallback(body []byte) (out_order_sn, amount string, err error)
- type NullPay
- func (this NullPay) Pay(out_order_sn, amount string) (pay_url, order_sn string, err error)
- func (this NullPay) PayCallback(body []byte) (out_order_sn, amount string, err error)
- func (this NullPay) Withdrew(out_order_sn, bacnk_name, bank_account, amount, payee string) (order_sn string, err error)
- func (this NullPay) WithdrewCallback(body []byte) (out_order_sn, amount string, err error)
- type PayInterface
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) PayCallback ¶
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.