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.

100 lines
2.7 KiB
C#

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 CardRechargeResponse
{
/// <summary>
/// 卡号
/// </summary>
[JsonProperty(PropertyName = "cardNo")]
public string CardNo { get; set; }
/// <summary>
/// 批次号
/// </summary>
[JsonProperty(PropertyName = "batchNo")]
public string BatchNo { get; set; }
/// <summary>
/// 批次号
/// </summary>
[JsonProperty(PropertyName = "serialNo")]
public string SerialNo { get; set; }
/// <summary>
/// 充值单号
/// </summary>
[JsonProperty(PropertyName = "rechargeNo")]
public string RechargeNo { get; set; }
/// <summary>
/// 交易时间(格式:yyyy-MM-dd HH:mm:ss)
/// </summary>
[JsonProperty(PropertyName = "tradeTime")]
public string TradeTime { get; set; }
/// <summary>
/// 充值方案编号
/// </summary>
[JsonProperty(PropertyName = "preAmount")]
public int PreAmount { get; set; }
/// <summary>
/// 充值金额(精确到分)
/// </summary>
[JsonProperty(PropertyName = "amount")]
public int Amount { get; set; }
/// <summary>
/// 本次赠送金额(精确到分)
/// </summary>
[JsonProperty(PropertyName = "giftAmount")]
public int GiftAmount { get; set; }
/// <summary>
/// 充值后余额(精确到分)
/// </summary>
[JsonProperty(PropertyName = "aftAmount")]
public int AftAmount { get; set; }
/// <summary>
/// 充值前积分(精确到分)
/// </summary>
[JsonProperty(PropertyName = "prePoint")]
public int PrePoint { get; set; }
/// <summary>
/// 本次赠送积分(精确到分)
/// </summary>
[JsonProperty(PropertyName = "giftPoint")]
public int GiftPoint { get; set; }
/// <summary>
/// 充值后积分(精确到分)
/// </summary>
[JsonProperty(PropertyName = "aftPoint")]
public int AftPoint { get; set; }
/// <summary>
/// 赠送礼品明细
/// </summary>
[JsonProperty(PropertyName = "giftDetail")]
public CardRechargeGift GiftDetail { get; set; }
/// <summary>
/// 是否赠送礼品标识(0-否 1-是)
/// </summary>
[JsonProperty(PropertyName = "couponDetail")]
public CardRechargeCoupon CouponDetail { get; set; }
}
}