using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace POSV.Card { /// /// 充值返回对象 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class CardRechargeResponse { /// /// 卡号 /// [JsonProperty(PropertyName = "cardNo")] public string CardNo { get; set; } /// /// 批次号 /// [JsonProperty(PropertyName = "batchNo")] public string BatchNo { get; set; } /// /// 批次号 /// [JsonProperty(PropertyName = "serialNo")] public string SerialNo { get; set; } /// /// 充值单号 /// [JsonProperty(PropertyName = "rechargeNo")] public string RechargeNo { get; set; } /// /// 交易时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "tradeTime")] public string TradeTime { get; set; } /// /// 充值方案编号 /// [JsonProperty(PropertyName = "preAmount")] public int PreAmount { get; set; } /// /// 充值金额(精确到分) /// [JsonProperty(PropertyName = "amount")] public int Amount { get; set; } /// /// 本次赠送金额(精确到分) /// [JsonProperty(PropertyName = "giftAmount")] public int GiftAmount { get; set; } /// /// 充值后余额(精确到分) /// [JsonProperty(PropertyName = "aftAmount")] public int AftAmount { get; set; } /// /// 充值前积分(精确到分) /// [JsonProperty(PropertyName = "prePoint")] public int PrePoint { get; set; } /// /// 本次赠送积分(精确到分) /// [JsonProperty(PropertyName = "giftPoint")] public int GiftPoint { get; set; } /// /// 充值后积分(精确到分) /// [JsonProperty(PropertyName = "aftPoint")] public int AftPoint { get; set; } /// /// 赠送礼品明细 /// [JsonProperty(PropertyName = "giftDetail")] public CardRechargeGift GiftDetail { get; set; } /// /// 是否赠送礼品标识(0-否 1-是) /// [JsonProperty(PropertyName = "couponDetail")] public CardRechargeCoupon CouponDetail { get; set; } } }