using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
///
/// DiscountDetail Data Structure.
///
[Serializable]
public class DiscountDetail : AopObject
{
///
/// 优惠金额
///
[JsonProperty("discount_amount")]
public string DiscountAmount { get; set; }
///
/// 优惠描述,比如至多优惠XX元,满XX减XX
///
[JsonProperty("discount_desc")]
public List DiscountDesc { get; set; }
///
/// 优惠类型,商家优惠(M_DISCOUNT),平台优惠(RT_DISCOUNT)
///
[JsonProperty("discount_type")]
public string DiscountType { get; set; }
///
/// 优惠ID或活动ID
///
[JsonProperty("id")]
public string Id { get; set; }
///
/// 优惠是否命中, true代表命中了优惠;false代表未命中优惠
///
[JsonProperty("is_hit")]
public string IsHit { get; set; }
///
/// 是否是购买券, true代表是购买的券,false调表不是购买的券
///
[JsonProperty("is_purchased")]
public string IsPurchased { get; set; }
///
/// 优惠名称
///
[JsonProperty("name")]
public string Name { get; set; }
}
}