using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// VoucherInfo Data Structure. /// [Serializable] public class VoucherInfo : AopObject { /// /// 是否可转赠。默认true /// [XmlElement("can_give_friend")] public bool CanGiveFriend { get; set; } /// /// 使用规则 /// [XmlElement("use_rule")] public UseRuleInfo UseRule { get; set; } /// /// 有效期 /// [XmlElement("valid_date")] public ValidDateInfo ValidDate { get; set; } /// /// 券详情描述 /// [XmlElement("voucher_desc")] public string VoucherDesc { get; set; } /// /// 券背景图。该值调用接口:alipay.offline.material.image.upload生成 /// [XmlElement("voucher_img")] public string VoucherImg { get; set; } /// /// logo图片id。该值调用接口:alipay.offline.material.image.upload生成 /// [XmlElement("voucher_logo")] public string VoucherLogo { get; set; } /// /// 券名称 /// [XmlElement("voucher_name")] public string VoucherName { get; set; } /// /// 券上的详情描述信息 /// [XmlArray("voucher_terms")] [XmlArrayItem("voucher_term_info")] public List VoucherTerms { get; set; } /// /// 券类型 /// [XmlElement("voucher_type")] public string VoucherType { get; set; } } }