NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayMerchantPayforprivile...

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