NewGaoKaoApi/PaymentSDK/AliPay/Domain/MPromoInfo.cs

45 lines
1.3 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>
/// MPromoInfo Data Structure.
/// </summary>
[Serializable]
public class MPromoInfo : AopObject
{
/// <summary>
/// 活动预算信息
/// </summary>
[XmlElement("budget")]
public MBudgetInfo Budget { get; set; }
/// <summary>
/// 活动限制信息
/// </summary>
[XmlElement("constraint")]
public MPromoConstraint Constraint { get; set; }
/// <summary>
/// 活动发送的权益信息
/// </summary>
[XmlElement("equity_info")]
public MEquityInfo EquityInfo { get; set; }
/// <summary>
/// 扩展信息字段
/// </summary>
[XmlArray("ext_info")]
[XmlArrayItem("m_ext_info")]
public List<MExtInfo> ExtInfo { get; set; }
/// <summary>
/// 外部活动业务id注意修改的时候会通过指定id进行修改如果指定out_promo_id口碑本地无数据进行新增否则进行修改如果要删除对应promo_info数据则不需要传递promo_info数据即可。
/// </summary>
[XmlElement("out_promo_id")]
public string OutPromoId { get; set; }
}
}