From 874a98a34bd35b565dc9a33338bdfe407c9e8725 Mon Sep 17 00:00:00 2001
From: lingling <kety1122@163.com>
Date: 星期二, 18 三月 2025 14:19:25 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi

---
 LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs |  178 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 178 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs b/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs
index 6663b7e..1cbcb93 100644
--- a/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs
+++ b/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs
@@ -594,4 +594,182 @@
 
         public string Attach { get; set; }
     }
+
+    /// <summary>
+    /// 鐢宠閫�娆�
+    /// </summary>
+    public class WxPayDomesticRefundsRequest
+    {
+        /// <summary>
+        /// 寰俊鏀粯璁㈠崟鍙� 鍜宱ut_trade_no蹇呴』浜岄�変竴杩涜浼犲弬
+        /// </summary>
+        [JsonProperty("transaction_id")]
+        public string TransactionId { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛璁㈠崟鍙� 鍜宱ut_trade_no蹇呴』浜岄�変竴杩涜浼犲弬
+        /// </summary>
+        [JsonProperty("out_trade_no")]
+        public string OutTradeNo { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛閫�娆惧崟鍙� 蹇呭~
+        /// </summary>
+        [JsonProperty("out_refund_no")]
+        public string OutRefundNo { get; set; }
+
+        /// <summary>
+        ///  閫�娆惧師鍥�
+        /// </summary>
+        [JsonProperty("reason")]
+        public string Reason { get; set; }
+
+        /// <summary>
+        /// 閫�娆剧粨鏋滃洖璋僽rl
+        /// </summary>
+        [JsonProperty("notify_url")]
+        public string NotifyUrl { get; set; }
+
+        /// <summary>
+        /// 閫�娆捐祫閲戞潵婧�
+        /// </summary>
+        [JsonProperty("funds_account")]
+        public string FundsAccount { get; set; }
+
+        /// <summary>
+        /// 閲戦淇℃伅 蹇呭~
+        /// </summary>
+        [JsonProperty("amount")]
+        public Model_WxPayDomesticRefunds_Amount Amount { get; set; }
+    }
+    public class Model_WxPayDomesticRefunds_Amount
+    {
+        /// <summary>
+        /// 閫�娆鹃噾棰濓紝鍗曚綅涓哄垎锛屽彧鑳戒负鏁存暟
+        /// </summary>
+        [JsonProperty("refund")]
+        public int Refund { get; set; }
+
+        /// <summary>
+        /// 鍘熻鍗曢噾棰�
+        /// </summary>
+        [JsonProperty("total")]
+        public int Total { get; set; }
+
+        /// <summary>
+        /// 閫�娆惧竵绉�
+        /// </summary>
+        [JsonProperty("currency")]
+        public string Currency { get; set; } = "CNY";
+    }
+
+    public class WxPayDomesticRefundsReponse
+    {
+        /// <summary>
+        /// 寰俊鏀粯閫�娆惧崟鍙�
+        /// </summary>
+        [JsonProperty("refund_id")]
+        public string RefundId { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛閫�娆惧崟鍙�
+        /// </summary>
+        [JsonProperty("out_refund_no")]
+        public string OutRefundNo { get; set; }
+
+        /// <summary>
+        /// 寰俊鏀粯璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("transaction_id")]
+        public string TransactionId { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("out_trade_no")]
+        public string OutTradeNo { get; set; }
+
+        /// <summary>
+        /// 閫�娆炬笭閬� ORIGINAL: 鍘熻矾閫�娆� BALANCE: 閫�鍥炲埌浣欓 OTHER_BALANCE: 鍘熻处鎴峰紓甯搁��鍒板叾浠栦綑棰濊处鎴� OTHER_BANKCARD: 鍘熼摱琛屽崱寮傚父閫�鍒板叾浠栭摱琛屽崱(鍙戣捣寮傚父閫�娆炬垚鍔熷悗杩斿洖)
+        /// </summary>
+        [JsonProperty("channel")]
+        public string Channel {  get; set; }
+
+        /// <summary>
+        /// 閫�娆惧叆璐﹁处鎴�
+        /// </summary>
+        [JsonProperty("user_received_account")]
+        public string UserReceivedAccount { get; set; }
+
+        /// <summary>
+        /// 閫�娆炬垚鍔熸椂闂�
+        /// </summary>
+        [JsonProperty("success_time")]
+        public string SuccessTime { get; set; }
+
+        /// <summary>
+        /// 閫�娆惧垱寤烘椂闂�
+        /// </summary>
+        [JsonProperty("create_time")]
+        public string CreateTime { get; set; }
+
+        /// <summary>
+        /// 閫�娆剧姸鎬�
+        /// </summary>
+        [JsonProperty("status")]
+        public string Status { get; set; }
+
+        /// <summary>
+        /// 璧勯噾璐︽埛
+        /// </summary>
+        [JsonProperty("funds_account")]
+        public string FundsAccount { get; set; }
+
+        /// <summary>
+        /// 閲戦淇℃伅
+        /// </summary>
+        [JsonProperty("amount")]
+        public Model_WxPayRetuenDomesticRefunds_Amount Amount { get; set; }
+
+    }
+
+    public class Model_WxPayRetuenDomesticRefunds_Amount: Model_WxPayDomesticRefunds_Amount
+    {
+        /// <summary>
+        /// 鐢ㄦ埛瀹為檯鏀粯閲戦
+        /// </summary>
+        [JsonProperty("payer_total")]
+        public int PayerTotal { get; set; }
+
+        /// <summary>
+        /// 鐢ㄦ埛閫�娆鹃噾棰�
+        /// </summary>
+        [JsonProperty("payer_refund")]
+        public int PayerRefund { get; set; }
+
+        /// <summary>
+        /// 搴旂粨閫�娆鹃噾棰�
+        /// </summary>
+        [JsonProperty("settlement_refund")]
+        public int SettlementRefund { get; set; }
+
+        /// <summary>
+        /// 搴旂粨璁㈠崟閲戦
+        /// </summary>
+        [JsonProperty("settlement_total")]
+        public int SettlementTotal { get; set; }
+
+        /// <summary>
+        /// 浼樻儬閫�娆鹃噾棰�
+        /// </summary>
+        [JsonProperty("discount_refund")]
+        public int DiscountRefund { get; set; }
+
+        /// <summary>
+        /// 鎵嬬画璐归��娆鹃噾棰�
+        /// </summary>
+        [JsonProperty("refund_fee")]
+        public int RefundFee { get; set; }
+
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.1