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

32 lines
1.0 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 System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AlipayItemSalesRule Data Structure.
/// </summary>
[Serializable]
public class AlipayItemSalesRule : AopObject
{
/// <summary>
/// 购买人群限制集合,开放平台暂时不支持此字段,如果需要使用,需要评估
/// </summary>
[JsonProperty("buyer_crowd_limit")]
public List<string> BuyerCrowdLimit { get; set; }
/// <summary>
/// 可限制商品单日销售上限
/// </summary>
[JsonProperty("daily_sales_limit")]
public long DailySalesLimit { get; set; }
/// <summary>
/// 用户购买策略如不填,则默认值为一个用户一天可以领取三次。 可限制DAY、WEEK、MONTH中n天领取m次格式为DAY|n|m 同时也可限制券的1次生命周期中可被领取x次如ALL|1|x两个规则可组合使用
/// </summary>
[JsonProperty("user_sales_limit")]
public string UserSalesLimit { get; set; }
}
}