zhengyiming
6 天以前 3b32b7055293df1ee7f0170f85820f08c8228b43
LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs
@@ -1,5 +1,6 @@
using LifePayment.Domain.Shared;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace LifePayment.Application.Contracts
@@ -201,7 +202,7 @@
        /// 优惠功能
        /// </summary>
        [JsonProperty("promotion_detail")]
        public PromotionDetail PromotionDetail { get; set; }
        public List<PromotionDetail> PromotionDetail { get; set; }
    }
@@ -241,7 +242,42 @@
        /// </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>