using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace POSV.Card { /// /// 充值 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class CardRechargeRequest { /// /// 卡号 /// [JsonProperty(PropertyName = "cardNo")] public string CardNo { get; set; } /// /// 卡密码(DES加密) /// [JsonProperty(PropertyName = "passwd")] public string Passwd { get; set; } /// /// 充值金额(精确到分) /// [JsonProperty(PropertyName = "amount")] public int Amount { get; set; } /// /// 充值方案编号 /// [JsonProperty(PropertyName = "schemeNo")] public string SchemeNo { get; set; } /// /// 是否赠送礼品(0-不赠送礼品;1-赠送礼品;) /// [JsonProperty(PropertyName = "giftSign")] public string GiftSign { get; set; } /// /// 赠送礼品信息ID /// [JsonProperty(PropertyName = "giftDetailId")] public string GiftDetailId { get; set; } /// /// 是否赠送优惠券(0-不赠送礼品;1-赠送礼品;) /// [JsonProperty(PropertyName = "couponSign")] public string CouponSign { get; set; } /// /// 赠送优惠券明细ID /// [JsonProperty(PropertyName = "couponDetailId")] public string CouponDetailId { get; set; } /// /// 支付方式 /// [JsonProperty(PropertyName = "payType")] public string PayType { get; set; } /// /// 支付方式编号 /// [JsonProperty(PropertyName = "payTypeNo")] public string PayTypeNo { get; set; } /// /// 支付凭证号 /// [JsonProperty(PropertyName = "payVoucherNo")] public string PayVoucherNo { get; set; } /// /// 门店编号 /// [JsonProperty(PropertyName = "shopNo")] public string ShopNo { get; set; } /// /// 终端编号 /// [JsonProperty(PropertyName = "posNo")] public string PosNo { get; set; } /// /// 员工编号 /// [JsonProperty(PropertyName = "workerNo")] public string WorkerNo { get; set; } /// /// 终端标识(web、pos、wechat) /// [JsonProperty(PropertyName = "sourceSign")] public string SourceSign { get; set; } /// /// 会员名称 /// [JsonProperty(PropertyName = "memberName")] public string MemberName { get; set; } /// /// 会员电话 /// [JsonProperty(PropertyName = "memberPhone")] public string MemberPhone { get; set; } /// /// 充值备注 /// [JsonProperty(PropertyName = "memo")] public string Memo { get; set; } /// /// 会员类型 /// public string MemberType { get; set; } /// /// 卡类型 /// public string CardType { get; set; } } }