Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/VoucherDetailInfo.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

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