using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// AlipayMerchantPayforprivilegePromotionplanCreateModel Data Structure. /// [Serializable] public class AlipayMerchantPayforprivilegePromotionplanCreateModel : AopObject { /// /// 充享惠方案权益金部分,最小为0,权益金不超过5000元 /// [XmlElement("benefit")] public string Benefit { get; set; } /// /// 方案的失效时间 /// [XmlElement("end_time")] public string EndTime { get; set; } /// /// 外部业务号,外部商户自行生成,用于幂等控制 /// [XmlElement("out_biz_no")] public string OutBizNo { get; set; } /// /// 充享惠方案有偿券部分,消费者充值成功后自动发放,如果不需要有偿券,指定空列表;有偿券的总金额不得超过10000元,且不得超过本金的2倍 /// [XmlArray("paid_voucher_list")] [XmlArrayItem("pay_for_privilege_paid_voucher_config")] public List PaidVoucherList { get; set; } /// /// 充享惠方案本金部分,单位元,必须大于0,本金不超过5000元 /// [XmlElement("principal")] public string Principal { get; set; } /// /// 方案开始生效时间 /// [XmlElement("start_time")] public string StartTime { get; set; } /// /// 创建方案后该方案的状态,ENABLED(启用), DISABLED(停用) /// [XmlElement("status")] public string Status { get; set; } } }