Documentation
¶
Index ¶
- Constants
- func MoneyFeeToString(moneyFee float64) string
- func New() payment.Hook
- type Wechat
- func (a *Wechat) Client() *wxpay.Client
- func (a *Wechat) Notify(ctx echo.Context) error
- func (a *Wechat) Pay(cfg *config.Pay) (param.StringMap, error)
- func (a *Wechat) Refund(cfg *config.Refund) (param.StringMap, error)
- func (a *Wechat) SetAccount(account *config.Account) payment.Hook
- func (a *Wechat) SetNotifyCallback(callback func(echo.Context) error) payment.Hook
Constants ¶
View Source
const Name = `wechat`
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.