using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Alipay.AopSdk.Core.Domain { /// /// ConstraintInfo Data Structure. /// [Serializable] public class ConstraintInfo : AopObject { /// /// 资金池ID (数据来源:需要ISV自己去口碑销售中台创建资金池,拿到对应的资金池ID,此参数仅适用ISV接入口福业务场景时使用,其他场景不需要传递此参数) /// [JsonProperty("cash_pool_id")] public string CashPoolId { get; set; } /// /// 人群规则组ID 仅直发奖类型活动设置有效,通过调用营销活动人群组规则创建接口参数返回 /// [JsonProperty("crowd_group_id")] public string CrowdGroupId { get; set; } /// /// 针对指定人群的约束条件 /// [JsonProperty("crowd_restriction")] public string CrowdRestriction { get; set; } /// /// 单品码列表 仅在创建消费单品送活动时设置,最多设置500个单品码,由商户根据自己的商品管理自定义,一般为国标码 /// [JsonProperty("item_ids")] public List ItemIds { get; set; } /// /// 最低消费金额,单位元 仅在创建消费送礼包活动时设置 /// [JsonProperty("min_cost")] public string MinCost { get; set; } /// /// 补贴百分比,95表示 95%,支持两位小数 (参数说明:补贴比例95%,表示ISV出资95%,商户出资5%,此参数仅适用ISV接入口福业务场景时使用,其他场景不需要传递此参数) /// [JsonProperty("subsidy_percent")] public string SubsidyPercent { get; set; } /// /// 活动适用的门店列表 仅品牌商发起的招商活动可为空 最多支持10w家门店 /// [JsonProperty("suit_shops")] public List SuitShops { get; set; } /// /// 活动期间用户能够参与的次数限制 如果不设置则不限制参与次数 /// [JsonProperty("user_win_count")] public string UserWinCount { get; set; } /// /// 活动期间用户能够参与的频率限制 如果不设置则不限制参与频率 每日中奖1次: D||1 每周中奖2次: W||2 每月中奖3次: M||3 /// [JsonProperty("user_win_frequency")] public string UserWinFrequency { get; set; } } }