using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Card { public class CardTraderRefundResponse { //==================================private================================== #region field //退款业务参考号(会员系统) private string refNo; //退款总金额 private decimal totalAmount; //退款前总积分 private decimal preTotalPoint; //退款总积分 private decimal totalPoint; //退款后总积分 private decimal aftTotalPoint; //卡退款明细 private List cardList; #endregion //==================================public================================== #region refNo 退款业务参考号(会员系统) [JsonProperty(PropertyName = "refNo")] /// /// 退款业务参考号(会员系统) /// public string RefNo { get { return refNo; } set { refNo = value; } } #endregion #region totalAmount 退款总金额 [JsonProperty(PropertyName = "totalAmount")] /// /// 退款总金额 /// public decimal TotalAmount { get { return totalAmount; } set { totalAmount = value; } } #endregion #region preTotalPoint 退款前总积分 [JsonProperty(PropertyName = "preTotalPoint")] /// /// 退款前总积分 /// public decimal PreTotalPoint { get { return preTotalPoint; } set { preTotalPoint = value; } } #endregion #region totalPoint 退款总积分 [JsonProperty(PropertyName = "totalPoint")] /// /// 退款总积分 /// public decimal TotalPoint { get { return totalPoint; } set { totalPoint = value; } } #endregion #region aftTotalPoint 退款后总积分 [JsonProperty(PropertyName = "aftTotalPoint")] /// /// 退款后总积分 /// public decimal AftTotalPoint { get { return aftTotalPoint; } set { aftTotalPoint = value; } } #endregion #region cardList 卡退款明细 [JsonProperty(PropertyName = "cardList")] /// /// 卡退款明细 /// public List CardList { get { return cardList; } set { cardList = value; } } #endregion } public class CardTraderRefundCardList { //==================================private================================== #region field //卡号 private string cardNo; //退款金额 private decimal amount; //退款前金额 private decimal preAmount; //退款后金额 private decimal aftAmount; #endregion //==================================public================================== #region cardNo 卡号 [JsonProperty(PropertyName = "cardNo")] /// /// 卡号 /// public string CardNo { get { return cardNo; } set { cardNo = value; } } #endregion #region amount 退款金额 [JsonProperty(PropertyName = "amount")] /// /// 退款金额 /// public decimal Amount { get { return amount; } set { amount = value; } } #endregion #region preAmount 退款前金额 [JsonProperty(PropertyName = "preAmount")] /// /// 退款前金额 /// public decimal PreAmount { get { return preAmount; } set { preAmount = value; } } #endregion #region aftAmount 退款后金额 [JsonProperty(PropertyName = "aftAmount")] /// /// 退款后金额 /// public decimal AftAmount { get { return aftAmount; } set { aftAmount = value; } } #endregion } }