NewGaoKaoApi/PaymentSDK/AliPay/Domain/ShopDiscountInfo.cs

67 lines
1.7 KiB
C#
Raw 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>
/// ShopDiscountInfo Data Structure.
/// </summary>
[Serializable]
public class ShopDiscountInfo : AopObject
{
/// <summary>
/// 图片url
/// </summary>
[XmlElement("cover")]
public string Cover { get; set; }
/// <summary>
/// 优惠信息描述
/// </summary>
[XmlElement("description")]
public string Description { get; set; }
/// <summary>
/// 是否全场。 全场Y单品N
/// </summary>
[XmlElement("is_all")]
public string IsAll { get; set; }
/// <summary>
/// 支付宝商品id
/// </summary>
[XmlElement("item_id")]
public string ItemId { get; set; }
/// <summary>
/// 子类型
/// </summary>
[XmlElement("promo_sub_type")]
public string PromoSubType { get; set; }
/// <summary>
/// 优惠类型。 优惠discount 商品item
/// </summary>
[XmlElement("promotion_type")]
public string PromotionType { get; set; }
/// <summary>
/// 领用模式。自动领用AUTO_OBTAIN。手动领用OBTAIN
/// </summary>
[XmlElement("purchase_mode")]
public string PurchaseMode { get; set; }
/// <summary>
/// 已用数量
/// </summary>
[XmlElement("sales_quantity")]
public string SalesQuantity { get; set; }
/// <summary>
/// 优惠信息标题
/// </summary>
[XmlElement("subject")]
public string Subject { get; set; }
}
}