NewGaoKaoApi/PaymentSDK/AliPay/Domain/SendRule.cs

37 lines
1.5 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;
namespace Aop.Api.Domain
{
/// <summary>
/// SendRule Data Structure.
/// </summary>
[Serializable]
public class SendRule : AopObject
{
/// <summary>
/// 是否允许重复发奖: true代表允许false代表不允许 默认不设置,表明用户领取券后如果没有核销则不允许再次领取券 如果设置为true表明如果用户领取券后没有核销还可以继续领取该券只有配置publish_channels中type为URL_WITH_TOKEN外部发券时该字段生效
/// </summary>
[XmlElement("allow_repeat_send")]
public string AllowRepeatSend { get; set; }
/// <summary>
/// 发券最低消费金额,单位元 活动类型为消费送且不是消费送礼包时设置 多营销工具之间不允许设置重复值
/// </summary>
[XmlElement("min_cost")]
public string MinCost { get; set; }
/// <summary>
/// 券的预算数量仅对口令送随机抽奖有效即当活动类型为GUESS_SEND且营销工具PromoTool的个数大于1时此字段必填其余情况此字段必为空
/// </summary>
[XmlElement("send_budget")]
public string SendBudget { get; set; }
/// <summary>
/// 发券数目 最少发1张券最多发5张券
/// </summary>
[XmlElement("send_num")]
public string SendNum { get; set; }
}
}