Versions in this module Expand all Collapse all v2 v2.1.8 Mar 10, 2024 Changes in this version + type Params struct + NotifyURL string + OutRefundNo string + OutTradeNo string + RefundDesc string + RefundFee string + RootCa string + SignType string + TotalFee string + TransactionID string + type Refund struct + func NewRefund(cfg *config.Config) *Refund + func (refund *Refund) GetSignParam(p *Params) (param map[string]string) + func (refund *Refund) Refund(p *Params) (rsp Response, err error) + type Response struct + AppID string + CashFee string + CashFeeType string + ErrCode string + ErrCodeDes string + FeeType string + MchID string + NonceStr string + OutRefundNo string + OutTradeNo string + RefundFee string + RefundID string + ResultCode string + ReturnCode string + ReturnMsg string + SettlementRefundFee string + SettlementTotalFee string + Sign string + TotalFee string + TransactionID string