pub struct WeChatQueryRefundResponse {
Show 18 fields pub appid: Option<String>, pub mch_id: String, pub sign: String, pub transaction_id: String, pub out_trade_no: String, pub total_fee: i64, pub settlement_total_fee: Option<i64>, pub fee_type: Option<String>, pub cash_fee: i64, pub refund_count: i64, pub promotion_detail: Option<String>, pub nonce_str: Option<String>, pub result_code: String, pub return_code: String, pub return_msg: String, pub refund_fee: String, pub err_code: Option<String>, pub err_code_des: Option<String>,
}

Fields

appid: Option<String>mch_id: String

商户号

sign: String

签名

transaction_id: String

微信交易编号

out_trade_no: String

商户订单编号

total_fee: i64

订单总金额,单位为分,只能为整数,详见支付金额

settlement_total_fee: Option<i64>

应结订单金额=订单金额-非充值代金券金额,应结订单金额<=订单金额。

fee_type: Option<String>

订单金额货币类型,符合ISO 4217标准的三位字母代码,默认人民币:CNY,其他值列表详见货币类型

cash_fee: i64

现金支付金额,单位为分,只能为整数,详见支付金额

refund_count: i64

退款笔数

promotion_detail: Option<String>

营销详情

nonce_str: Option<String>

加密字符串

result_code: String

业务结果

return_code: Stringreturn_msg: String

返回结果

refund_fee: String

退款金额

err_code: Option<String>

错误码

err_code_des: Option<String>

Implementations

Available on crate feature wechat only.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more