using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// PromoVoucherInfo Data Structure. /// [Serializable] public class PromoVoucherInfo : AopObject { /// /// 折扣(折扣券类型才有) /// [XmlElement("discount")] public string Discount { get; set; } /// /// 是否是自动领取券 /// [XmlElement("is_auto_obtain")] public string IsAutoObtain { get; set; } /// /// 是否是商圈发的券 true/false /// [XmlElement("is_mall_voucher")] public string IsMallVoucher { get; set; } /// /// 券品牌名称 /// [XmlElement("item_brand_name")] public string ItemBrandName { get; set; } /// /// 券有效期结束时间 /// [XmlElement("item_gmt_end")] public string ItemGmtEnd { get; set; } /// /// 商品有效期开始时间 /// [XmlElement("item_gmt_start")] public string ItemGmtStart { get; set; } /// /// 商品id /// [XmlElement("item_id")] public string ItemId { get; set; } /// /// 券图片地址 /// [XmlElement("item_logo")] public string ItemLogo { get; set; } /// /// 商品名称 /// [XmlElement("item_name")] public string ItemName { get; set; } /// /// 买a送b 送单品名称 /// [XmlElement("send_item_name")] public string SendItemName { get; set; } /// /// 店铺id /// [XmlElement("shop_id")] public string ShopId { get; set; } /// /// 店铺名称 /// [XmlElement("shop_name")] public string ShopName { get; set; } /// /// 券使用门槛金额(元) /// [XmlElement("use_condition_amount")] public string UseConditionAmount { get; set; } /// /// 代金券 减至券 兑换券 换购券 金额 /// [XmlElement("value_amount")] public string ValueAmount { get; set; } /// /// 券跳转地址(h5) /// [XmlElement("voucher_detail_url")] public string VoucherDetailUrl { get; set; } /// /// DISCOUNT_ALL, // 折扣券(全场) DISCOUNT_SINGLE, // 折扣券(单品) CASH_ALL, // 代金券(全场) CASH_SINGLE, // 代金券(单品) // 以下券全部是单品券 EXCHANGE, // 兑换券(直接兑换,加钱兑换) EXCHANGE_BUY, // 换购券 REDUCE_TO, // 减至券 BUY_SEND_SAME, // 买就送券(买a送a) BUY_SEND_OTHER; // 买就送券(买a送b) /// [XmlElement("voucher_type")] public string VoucherType { get; set; } } }