From dbf044662b9a75e5b42f8f76c65faaf89c95bb21 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期三, 02 四月 2025 19:36:48 +0800
Subject: [PATCH] fix:bug修复

---
 LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs |   73 ++++++++++++++++++++++++++++++++++++
 1 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs b/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs
index 7fc0310..b6b6144 100644
--- a/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs
+++ b/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs
@@ -204,6 +204,79 @@
         public PromotionDetail PromotionDetail { get; set; }
     }
 
+
+    public class WxPayDomesticRefundsNotice
+    {
+        /// <summary>
+        /// <summary>
+        /// 鍟嗘埛鍙�
+        /// </summary>
+        [JsonProperty("mchid")]
+        public string Mchid { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("out_trade_no")]
+        public string OutTradeNo { get; set; }
+
+        /// <summary>
+        /// 寰俊鏀粯璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("transaction_id")]
+        public string TransactionId { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛閫�娆惧崟鍙�
+        /// </summary>
+        [JsonProperty("out_refund_no")]
+        public string OutRefundNo { get; set; }
+
+        /// <summary>
+        /// 閫�娆剧姸鎬�
+        /// SUCCESS鈥旈��娆炬垚鍔�
+        /// CLOSED鈥旈��娆惧叧闂��
+        /// PROCESSING鈥旈��娆惧鐞嗕腑
+        /// ABNORMAL鈥旈��娆惧紓甯革紝閫�娆惧埌閾惰鍙戠幇鐢ㄦ埛鐨勫崱浣滃簾鎴栬�呭喕缁撲簡锛屽鑷村師璺��娆鹃摱琛屽崱澶辫触锛屽彲鍓嶅線鍟嗘埛骞冲彴-浜ゆ槗涓績锛屾墜鍔ㄥ鐞嗘绗旈��娆撅紝鍙弬鑰冿細 閫�娆惧紓甯哥殑澶勭悊锛屾垨鑰呴�氳繃鍙戣捣寮傚父閫�娆炬帴鍙h繘琛屽鐞嗐��
+        /// </summary>
+        [JsonProperty("refund_status")]
+        public string RefundStatus { get; set; }
+
+        [JsonProperty("amount")]
+        public RefundAmount Amount { get; set; }
+    }
+
+    public class RefundAmount
+    {
+        /// <summary>
+        /// 鎬婚噾棰�
+        /// </summary>
+        [JsonProperty("total", NullValueHandling = NullValueHandling.Ignore)]
+        [Required]
+        public int Total { get; set; }
+
+        /// <summary>
+        /// 閫�娆鹃噾棰�
+        /// </summary>
+        [JsonProperty("refund", NullValueHandling = NullValueHandling.Ignore)]
+        [Required]
+        public int Refund { get; set; }
+
+        /// <summary>
+        /// 鐢ㄦ埛瀹為檯鏀粯閲戦
+        /// </summary>
+        [JsonProperty("payer_total", NullValueHandling = NullValueHandling.Ignore)]
+        [Required]
+        public string PayerTotal { get; set; }
+
+        /// <summary>
+        /// 鐢ㄦ埛閫�娆鹃噾棰�
+        /// </summary>
+        [JsonProperty("payer_refund", NullValueHandling = NullValueHandling.Ignore)]
+        [Required]
+        public string PayerRefund { get; set; }
+    }
+
     public class WxRechargeNotifyResult
     {
         /// <summary>

--
Gitblit v1.9.1