using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace POSV.Card { /// /// 电子券核销返回对象 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class ElecCouponConsumeResponse { /// /// 交易号 /// [JsonProperty(PropertyName = "tradeNo")] public string TradeNo { get; set; } /// /// 卡券ID /// [JsonProperty(PropertyName = "cardId")] public string CardId { get; set; } /// /// 优惠券编号 /// [JsonProperty(PropertyName = "code")] public string Code { get; set; } /// /// 卡券类别(折扣券:DISCOUNT;代金券:CASH) /// [JsonProperty(PropertyName = "cardType")] public string CardType { get; set; } /// /// 启用金额(代金券专用,单位:分) /// [JsonProperty(PropertyName = "leastCost")] public int LeastCost { get; set; } /// /// 减免金额(代金券专用,单位:分) /// [JsonProperty(PropertyName = "reduceCost")] public int ReduceCost { get; set; } /// /// 打折额度(折扣券专用 1-9.9之间) /// [JsonProperty(PropertyName = "discount")] public decimal Discount { get; set; } /// /// 兑换物品信息 /// [JsonProperty(PropertyName = "gift")] public string Gift { get; set; } } }