From a3bfd6cd7ee9580db08aa03a8656ad5572089756 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 31 三月 2025 16:19:36 +0800 Subject: [PATCH] Merge branch 'dev-lifepay-v1.3' of http://120.26.58.240:8888/r/LifePaymentApi into dev-lifepay-v1.3 --- 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