using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
///
/// UseRule Data Structure.
///
[Serializable]
public class UseRule : AopObject
{
///
/// 扩展属性,无需设置
///
[JsonProperty("ext_info")]
public string ExtInfo { get; set; }
///
/// 券的不可用时间
///
[JsonProperty("forbidden_time")]
public ForbbidenTime ForbiddenTime { get; set; }
///
/// 优惠券的使用支付渠道限制规则, 不受支付渠道限制:USE_NO_LIMIT; 仅限储值卡支付时可用:USE_ON_CURRENT_PAY_CHANNEL; 储值卡支付时不可用:NOT_ALLOWED_USE; 【备注】
/// 支付渠道限制不允许修改
///
[JsonProperty("limit_rule")]
public string LimitRule { get; set; }
///
/// 券核销的最低消费门槛,单位元
///
[JsonProperty("min_consume")]
public string MinConsume { get; set; }
///
/// 券买单跳转链接
///
[JsonProperty("pay_redirect_url")]
public string PayRedirectUrl { get; set; }
///
/// 券适用门店列表 仅品牌商发起的招商活动可为空 直发奖类型活动必须与活动适用门店一致 最多支持10w家门店
///
[JsonProperty("suit_shops")]
public List SuitShops { get; set; }
///
/// 券可用时间段
///
[JsonProperty("use_time")]
public List UseTime { get; set; }
}
}