You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.7 KiB
C#

9 months ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace POSV.Card
{
/// <summary>
/// 电子券核销返回对象
/// </summary>
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class ElecCouponConsumeResponse
{
/// <summary>
/// 交易号
/// </summary>
[JsonProperty(PropertyName = "tradeNo")]
public string TradeNo { get; set; }
/// <summary>
/// 卡券ID
/// </summary>
[JsonProperty(PropertyName = "cardId")]
public string CardId { get; set; }
/// <summary>
/// 优惠券编号
/// </summary>
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
/// <summary>
/// 卡券类别(折扣券:DISCOUNT;代金券:CASH)
/// </summary>
[JsonProperty(PropertyName = "cardType")]
public string CardType { get; set; }
/// <summary>
/// 启用金额(代金券专用,单位:分)
/// </summary>
[JsonProperty(PropertyName = "leastCost")]
public int LeastCost { get; set; }
/// <summary>
/// 减免金额(代金券专用,单位:分)
/// </summary>
[JsonProperty(PropertyName = "reduceCost")]
public int ReduceCost { get; set; }
/// <summary>
/// 打折额度(折扣券专用 1-9.9之间)
/// </summary>
[JsonProperty(PropertyName = "discount")]
public decimal Discount { get; set; }
/// <summary>
/// 兑换物品信息
/// </summary>
[JsonProperty(PropertyName = "gift")]
public string Gift { get; set; }
}
}