36 lines
1013 B
C#
36 lines
1013 B
C#
|
|
using System;
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
|
|||
|
|
namespace Alipay.AopSdk.Core.Domain
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// BenefitInfoDetail Data Structure.
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable]
|
|||
|
|
public class BenefitInfoDetail : AopObject
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// PRE_FUND:实际核销或者商户赠送的金额 DISCOUNT:实际折扣掉的金额(获取权益不支持该类型) COUPON:实际核销或者商户赠送的券
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("amount")]
|
|||
|
|
public string Amount { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 权益类型 PRE_FUND(卡面额) DISCOUNT:折扣金额 COUPON:券
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("benefit_type")]
|
|||
|
|
public string BenefitType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// COUPON:当核销或者赠送券时,可以设置该值
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("count")]
|
|||
|
|
public string Count { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 产生核销或者赠送权益的描述
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("description")]
|
|||
|
|
public string Description { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|