Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/ConstraintInfo.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

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