using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
///
/// VoucherDetailInfo Data Structure.
///
[Serializable]
public class VoucherDetailInfo : AopObject
{
///
/// 资产id
///
[JsonProperty("asset_id")]
public string AssetId { get; set; }
///
/// 有效期起
///
[JsonProperty("effect_time")]
public string EffectTime { get; set; }
///
/// 扩展字段信息,通过map存储的json串
///
[JsonProperty("ext_info")]
public string ExtInfo { get; set; }
///
/// 不可用时间段(只支持到天)
///
[JsonProperty("forbbiden_time")]
public ForbbidenTime ForbbidenTime { get; set; }
///
/// 券过期时间
///
[JsonProperty("invalid_time")]
public string InvalidTime { get; set; }
///
/// 单品id中间用“,”分隔
///
[JsonProperty("sku_codes")]
public string SkuCodes { get; set; }
///
/// 可用时段条款
///
[JsonProperty("time_rules")]
public List TimeRules { get; set; }
///
/// 券使用条件
///
[JsonProperty("use_condition")]
public string UseCondition { get; set; }
///
/// 全资产描述
///
[JsonProperty("voucher_desc")]
public string VoucherDesc { get; set; }
///
/// 券类型(ALIPAY_FIX_VOUCHER:全场券;ALIPAY_ITEM_VOUCHER:单品券,KOUBEI_BUY_EXCHANGE_VOUCHER:兑换券)
///
[JsonProperty("voucher_type")]
public string VoucherType { get; set; }
}
}