Files
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

42 lines
1.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// PromoTool Data Structure.
/// </summary>
[Serializable]
public class PromoTool : AopObject
{
/// <summary>
/// 集点卡工具仅在活动类型为POINT_SEND时才有效且必填其他活动类型此字段必须为null
/// </summary>
[JsonProperty("point_card")]
public PointCard PointCard { get; set; }
/// <summary>
/// 奖品发放的规则
/// </summary>
[JsonProperty("send_rule")]
public SendRule SendRule { get; set; }
/// <summary>
/// 单个营销工具的生效状态,当在招商部分券失效后会使用这个字段
/// </summary>
[JsonProperty("status")]
public string Status { get; set; }
/// <summary>
/// 券对象当活动类型为POINT_SEND时为null其他活动类型此字段必填
/// </summary>
[JsonProperty("voucher")]
public Voucher Voucher { get; set; }
/// <summary>
/// 营销工具uid,创建营销活动时无需设置
/// </summary>
[JsonProperty("voucher_no")]
public string VoucherNo { get; set; }
}
}