NewGaoKaoApi/PaymentSDK/AliPay/Domain/DiscountRandomModel.cs

31 lines
851 B
C#
Raw Permalink 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;
namespace Aop.Api.Domain
{
/// <summary>
/// DiscountRandomModel Data Structure.
/// </summary>
[Serializable]
public class DiscountRandomModel : AopObject
{
/// <summary>
/// 最高优惠金额
/// </summary>
[XmlElement("max_amount")]
public string MaxAmount { get; set; }
/// <summary>
/// 最低优惠金额
/// </summary>
[XmlElement("min_amount")]
public string MinAmount { get; set; }
/// <summary>
/// 概率 金额区间、占比支持小数点后两位 区间为前闭、后闭最多可以设置10种金额区间所有区间占比和需要等于100%
/// </summary>
[XmlElement("probability")]
public string Probability { get; set; }
}
}