NewGaoKaoApi/PaymentSDK/AliPay/Domain/MarketingInfo.cs

33 lines
1.0 KiB
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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// MarketingInfo Data Structure.
/// </summary>
[Serializable]
public class MarketingInfo : AopObject
{
/// <summary>
/// 营销明细
/// </summary>
[XmlArray("promotion_list")]
[XmlArrayItem("promotion_detail")]
public List<PromotionDetail> PromotionList { get; set; }
/// <summary>
/// 总的营销金额包括金本位和非金本位。该金额为所有promotion_list的金额总额。单位为元精确到小数点后两位取值范围[0.01,100000000]。返回promotion_list时该字段不为空
/// </summary>
[XmlElement("total_amount")]
public string TotalAmount { get; set; }
/// <summary>
/// 订单营销的使用模式。该参数的值与商户入参中的制定营销use_mode一致
/// </summary>
[XmlElement("use_mode")]
public string UseMode { get; set; }
}
}