using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace POSV.Card { /// /// 统一收单支付 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class CardTradePayResponse { /// /// 交易参考号 /// [JsonProperty(PropertyName = "tradeVoucherNo")] public string TradeVoucherNo { get; set; } /// /// 商户订单号 /// [JsonProperty(PropertyName = "tradeNo")] public string TradeNo { get; set; } /// /// 会员编号 /// [JsonProperty(PropertyName = "memberId")] public string MemberId { get; set; } /// /// 手机号 /// [JsonProperty(PropertyName = "mobile")] public string Mobile { get; set; } /// /// 赠送积分(精确到分) /// [JsonProperty(PropertyName = "giftPoint")] public int GiftPoint { get; set; } /// /// 刷卡前积分(精确到分) /// [JsonProperty(PropertyName = "prePoint")] public int PrePoint { get; set; } /// /// 刷卡后积分(精确到分) /// [JsonProperty(PropertyName = "aftPoint")] public int AftPoint { get; set; } /// /// 卡支付结果 /// [JsonProperty(PropertyName = "cardList")] public List CardList { get; set; } } /// /// 卡支付结果 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class CardPayResult { /// /// 支付卡号(交易成功时返回) /// [JsonProperty(PropertyName = "cardNo")] public string CardNo { get; set; } /// /// 刷卡金额(精确到分) /// [JsonProperty(PropertyName = "amount")] public int Amount { get; set; } /// /// 刷卡前金额(精确到分) /// [JsonProperty(PropertyName = "preAmount")] public int PreAmount { get; set; } /// /// 刷卡后金额(精确到分) /// [JsonProperty(PropertyName = "aftAmount")] public int AftAmount { get; set; } } }