NewGaoKaoApi/PaymentSDK/AliPay/Domain/VoucherRec.cs

205 lines
5.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// VoucherRec Data Structure.
/// </summary>
[Serializable]
public class VoucherRec : AopObject
{
/// <summary>
/// 总收藏量
/// </summary>
[XmlElement("all_keep_count")]
public string AllKeepCount { get; set; }
/// <summary>
/// 判断券的类型
/// </summary>
[XmlElement("code")]
public string Code { get; set; }
/// <summary>
/// 头图
/// </summary>
[XmlElement("cover")]
public string Cover { get; set; }
/// <summary>
/// 人群
/// </summary>
[XmlElement("crowds")]
public string Crowds { get; set; }
/// <summary>
/// 折扣券的折扣力度
/// </summary>
[XmlElement("discount")]
public string Discount { get; set; }
/// <summary>
/// 扩展信息
/// </summary>
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 是否有面向人群
/// </summary>
[XmlElement("has_crowd")]
public string HasCrowd { get; set; }
/// <summary>
/// 是否自动领取券
/// </summary>
[XmlElement("is_auto_obtain")]
public string IsAutoObtain { get; set; }
/// <summary>
/// 是否是商圈发的券
/// </summary>
[XmlElement("is_mall_voucher")]
public string IsMallVoucher { get; set; }
/// <summary>
/// 券品牌名称
/// </summary>
[XmlElement("item_brand_name")]
public string ItemBrandName { get; set; }
/// <summary>
/// 券有效期结束时间
/// </summary>
[XmlElement("item_gmt_end")]
public string ItemGmtEnd { get; set; }
/// <summary>
/// 券有效期开始时间
/// </summary>
[XmlElement("item_gmt_start")]
public string ItemGmtStart { get; set; }
/// <summary>
/// 券id
/// </summary>
[XmlElement("item_id")]
public string ItemId { get; set; }
/// <summary>
/// 券名称
/// </summary>
[XmlElement("item_name")]
public string ItemName { get; set; }
/// <summary>
/// 总量
/// </summary>
[XmlElement("item_quantity")]
public string ItemQuantity { get; set; }
/// <summary>
/// 销售模式
/// </summary>
[XmlElement("item_sales_mode")]
public string ItemSalesMode { get; set; }
/// <summary>
/// 销量
/// </summary>
[XmlElement("item_sold_quantity")]
public string ItemSoldQuantity { get; set; }
/// <summary>
/// 原价
/// </summary>
[XmlElement("original_amount")]
public string OriginalAmount { get; set; }
/// <summary>
/// 每满threshold_amount元减perValueAmount元封顶valueAmount元
/// </summary>
[XmlElement("per_value_amount")]
public string PerValueAmount { get; set; }
/// <summary>
/// 泛行业商品详情图片
/// </summary>
[XmlElement("picture_details")]
public string PictureDetails { get; set; }
/// <summary>
/// 价格浮动模式
/// </summary>
[XmlElement("price_mode")]
public string PriceMode { get; set; }
/// <summary>
/// 券领取类型
/// </summary>
[XmlElement("purchase_mode")]
public string PurchaseMode { get; set; }
/// <summary>
/// 送单品名称
/// </summary>
[XmlElement("send_item_name")]
public string SendItemName { get; set; }
/// <summary>
/// 店铺id
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
/// <summary>
/// 店铺名称
/// </summary>
[XmlElement("shop_name")]
public string ShopName { get; set; }
/// <summary>
/// 满N元可优惠
/// </summary>
[XmlElement("threshold_amount")]
public string ThresholdAmount { get; set; }
/// <summary>
/// 使用门槛
/// </summary>
[XmlElement("use_condition_amount")]
public string UseConditionAmount { get; set; }
/// <summary>
/// 券使用的有效时间
/// </summary>
[XmlElement("valid_times")]
public string ValidTimes { get; set; }
/// <summary>
/// 金额
/// </summary>
[XmlElement("value_amount")]
public string ValueAmount { get; set; }
/// <summary>
/// 券的跳转地址
/// </summary>
[XmlElement("voucher_detail_url")]
public string VoucherDetailUrl { get; set; }
/// <summary>
/// 券地址
/// </summary>
[XmlElement("voucher_logo_url")]
public string VoucherLogoUrl { get; set; }
/// <summary>
/// DISCOUNT_ALL 折扣券(全场) DISCOUNT_SINGLE 折扣券(单品) CASH_ALL 代金券(全场) CASH_SINGLE 金券(单品) 以下券全部是单品券: EXCHANGE 兑换券(直接兑换, 加钱兑换) EXCHANGE_BUY 换购券 REDUCE_TO 减至券 BUY_SEND_SAME 买就送券(买a送a) BUY_SEND_OTHER 买就送券(买a送b)
/// </summary>
[XmlElement("voucher_type")]
public string VoucherType { get; set; }
}
}