using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// VoucherInfoDetail Data Structure.
///
[Serializable]
public class VoucherInfoDetail : AopObject
{
///
/// ISTORE拿铁满50减10券
///
[XmlElement("description")]
public string Description { get; set; }
///
/// 失效时间。格式:yyyy-MM-dd HH:mm:ss
///
[XmlElement("expired_time")]
public string ExpiredTime { get; set; }
///
/// 券ID
///
[XmlElement("id")]
public string Id { get; set; }
///
/// 券名称
///
[XmlElement("name")]
public string Name { get; set; }
///
/// 券状态。VALID:有效,表示可用;INVALID:无效,由于过期等券自身原因导致的不可用;UNAVAILABLE:条件未满足导致的不可用,比如用户指定使用,但是因为条件未达到,比如金额、商品等。
///
[XmlElement("status")]
public string Status { get; set; }
///
/// 生效时间。格式:yyyy-MM-dd HH:mm:ss
///
[XmlElement("valid_time")]
public string ValidTime { get; set; }
///
/// 券值,根据券类型而定,比如满减:10,折扣:0.9(九折)
///
[XmlElement("value")]
public string Value { get; set; }
}
}