Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/KoubeiTradeVoucherItemTemplete.cs

33 lines
1.2 KiB
C#
Raw Normal View History

2024-04-10 13:55:27 +08:00
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// KoubeiTradeVoucherItemTemplete Data Structure.
/// </summary>
[Serializable]
public class KoubeiTradeVoucherItemTemplete : AopObject
{
/// <summary>
/// 购买须知列表类型最多10项
/// </summary>
[JsonProperty("buyer_notes")]
public List<KoubeiItemDescription> BuyerNotes { get; set; }
/// <summary>
/// 表示是否支持预定支持“T”, 不支持“F”
/// </summary>
[JsonProperty("support_book")]
public string SupportBook { get; set; }
/// <summary>
/// 购买有效期:商品自购买起多长时间内有效,取值范围
/// 7-360单位天。举例如果是7的话是到第七天晚上23:59:59失效。商品购买后没有在有效期内核销则自动退款给用户。举例买了一个高级造型师洗剪吹的商品有效期一个月如果一个月之后用户没有使用商品来进行洗剪吹的服务则自动退款给用户。
/// </summary>
[JsonProperty("validity_period")]
public string ValidityPeriod { get; set; }
}
}