Files
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

56 lines
1.3 KiB
C#
Raw Permalink 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>
/// DiscountDetail Data Structure.
/// </summary>
[Serializable]
public class DiscountDetail : AopObject
{
/// <summary>
/// 优惠金额
/// </summary>
[JsonProperty("discount_amount")]
public string DiscountAmount { get; set; }
/// <summary>
/// 优惠描述比如至多优惠XX元满XX减XX
/// </summary>
[JsonProperty("discount_desc")]
public List<string> DiscountDesc { get; set; }
/// <summary>
/// 优惠类型,商家优惠M_DISCOUNT平台优惠RT_DISCOUNT
/// </summary>
[JsonProperty("discount_type")]
public string DiscountType { get; set; }
/// <summary>
/// 优惠ID或活动ID
/// </summary>
[JsonProperty("id")]
public string Id { get; set; }
/// <summary>
/// 优惠是否命中, true代表命中了优惠false代表未命中优惠
/// </summary>
[JsonProperty("is_hit")]
public string IsHit { get; set; }
/// <summary>
/// 是否是购买券, true代表是购买的券false调表不是购买的券
/// </summary>
[JsonProperty("is_purchased")]
public string IsPurchased { get; set; }
/// <summary>
/// 优惠名称
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
}
}