Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { TransactionID string OutRefundNo string OutTradeNo string TotalFee string RefundFee string RefundDesc string RootCa string // ca证书 NotifyURL string SignType string }
Params 调用参数
type Refund ¶
Refund struct extends context
func (*Refund) GetSignParam ¶ added in v2.0.6
GetSignParam 获取签名的参数
type Response ¶
type Response struct { ReturnCode string `xml:"return_code"` ReturnMsg string `xml:"return_msg"` AppID string `xml:"appid,omitempty"` MchID string `xml:"mch_id,omitempty"` NonceStr string `xml:"nonce_str,omitempty"` Sign string `xml:"sign,omitempty"` ResultCode string `xml:"result_code,omitempty"` ErrCode string `xml:"err_code,omitempty"` ErrCodeDes string `xml:"err_code_des,omitempty"` TransactionID string `xml:"transaction_id,omitempty"` OutTradeNo string `xml:"out_trade_no,omitempty"` OutRefundNo string `xml:"out_refund_no,omitempty"` RefundID string `xml:"refund_id,omitempty"` RefundFee string `xml:"refund_fee,omitempty"` SettlementRefundFee string `xml:"settlement_refund_fee,omitempty"` TotalFee string `xml:"total_fee,omitempty"` SettlementTotalFee string `xml:"settlement_total_fee,omitempty"` FeeType string `xml:"fee_type,omitempty"` CashFee string `xml:"cash_fee,omitempty"` CashFeeType string `xml:"cash_fee_type,omitempty"` }
Response 接口返回
Click to show internal directories.
Click to hide internal directories.