using System; using Newtonsoft.Json; namespace Alipay.AopSdk.Core.Domain { /// /// DiscountInfo Data Structure. /// [Serializable] public class DiscountInfo : AopObject { /// /// 全场代金的门槛金额 /// [JsonProperty("apply_condition")] public string ApplyCondition { get; set; } /// /// 买M送N的描述 /// [JsonProperty("buy_send_desc")] public string BuySendDesc { get; set; } /// /// 折扣率 仅当券类型为折扣券时有效 有效折扣率取值范围0.11-0.99 仅允许保留小数点后两位 /// [JsonProperty("discount")] public string Discount { get; set; } /// /// 最近店铺离当前用户的距离 /// [JsonProperty("distance")] public string Distance { get; set; } /// /// 优惠结束时间 /// [JsonProperty("end_time")] public string EndTime { get; set; } /// /// 券的图片地址 /// [JsonProperty("image_url")] public string ImageUrl { get; set; } /// /// 优惠id /// [JsonProperty("item_id")] public string ItemId { get; set; } /// /// 券的名称 /// [JsonProperty("item_name")] public string ItemName { get; set; } /// /// 商品的一些标签 /// [JsonProperty("label")] public string Label { get; set; } /// /// 减至券的原价 /// [JsonProperty("original_price")] public string OriginalPrice { get; set; } /// /// 每满thresholdPrice元减perPrice元,封顶topPrice元 /// [JsonProperty("per_price")] public string PerPrice { get; set; } /// /// 当券类型是代金券的时候,这个字段代表实际金额;当券类型是减至券的时候,这个字段代表减至到的金额 /// [JsonProperty("price")] public string Price { get; set; } /// /// 券推荐语 /// [JsonProperty("reason")] public string Reason { get; set; } /// /// 买A送B中,B的描述 /// [JsonProperty("send_item_name")] public string SendItemName { get; set; } /// /// 门店id /// [JsonProperty("shop_id")] public string ShopId { get; set; } /// /// 券的店铺名 /// [JsonProperty("shop_name")] public string ShopName { get; set; } /// /// 已领数 /// [JsonProperty("sold")] public string Sold { get; set; } /// /// 优惠开始时间 /// [JsonProperty("start_time")] public string StartTime { get; set; } /// /// 每满thresholdPrice元减perPrice元,封顶topPrice元 /// [JsonProperty("threshold_price")] public string ThresholdPrice { get; set; } /// /// 每满减用的字段:每满thresholdPrice元减perPrice元,封顶topPrice元 /// [JsonProperty("top_price")] public string TopPrice { get; set; } /// /// 目前有discount:折扣券;cash:代金券;exchange:兑换券;limit_reduce_cash:减至券 /// [JsonProperty("type")] public string Type { get; set; } /// /// 券二级类型。all_discount:全场折扣;single_discount:单品折扣;all_cash:全场代金;single_cash:单品代金 /// [JsonProperty("vol_type")] public string VolType { get; set; } } }