Documentation ¶
Index ¶
- Constants
- func MoneyFeeToString(moneyFee float64) string
- func New() payment.Driver
- type Alipay
- func (a *Alipay) Client() *alipay.Client
- func (a *Alipay) IsSupported(s config.Support) bool
- func (a *Alipay) Pay(ctx echo.Context, cfg *config.Pay) (*config.PayResponse, error)
- func (a *Alipay) PayNotify(ctx echo.Context) error
- func (a *Alipay) PayQuery(ctx echo.Context, cfg *config.Query) (*config.Result, error)
- func (a *Alipay) Refund(ctx echo.Context, cfg *config.Refund) (*config.Result, error)
- func (a *Alipay) RefundNotify(ctx echo.Context) error
- func (a *Alipay) RefundQuery(ctx echo.Context, cfg *config.Query) (*config.Result, error)
- func (a *Alipay) SetAccount(account *config.Account) payment.Driver
- func (a *Alipay) SetNotifyCallback(callback func(echo.Context) error) payment.Driver
- func (a *Alipay) VerifySign(ctx echo.Context) error
Constants ¶
View Source
const Name = `alipay`
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alipay ¶
type Alipay struct {
// contains filtered or unexported fields
}
func (*Alipay) RefundNotify ¶ added in v0.0.17
func (*Alipay) RefundQuery ¶ added in v0.0.17
func (*Alipay) SetNotifyCallback ¶
Click to show internal directories.
Click to hide internal directories.