|
|
|
|
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 CardRechargeQueryResponse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值单号(卡系统业务)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "rechargeNo")]
|
|
|
|
|
public string RechargeNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商户支付凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payVoucherNo")]
|
|
|
|
|
public string PayVoucherNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卡号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "cardNo")]
|
|
|
|
|
public string CardNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值方案编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "schemeNo")]
|
|
|
|
|
public string SchemeNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值方案名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "schemeName")]
|
|
|
|
|
public string SchemeName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值前余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "preAmount")]
|
|
|
|
|
public decimal PreAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值余额(实收金额)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "chargeAmount")]
|
|
|
|
|
public decimal ChargeAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 赠送金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "giftAmount")]
|
|
|
|
|
public decimal GiftAmount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本次充值总金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "totalChargeAmount")]
|
|
|
|
|
public decimal TotalChargeAmount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值后余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "aftAmount")]
|
|
|
|
|
public decimal AftAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值前积分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "prePoint")]
|
|
|
|
|
public decimal PrePoint { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本次赠送积分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "giftPoint")]
|
|
|
|
|
public decimal GiftPoint { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值后积分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "aftPoint")]
|
|
|
|
|
public decimal AftPoint { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交易时间(格式:yyyy-MM-dd HH:mm:ss)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "operateTime")]
|
|
|
|
|
public string OperateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值后积分(精确到分)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "memo")]
|
|
|
|
|
public string Memo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 赠送礼品明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "gifts")]
|
|
|
|
|
public List<CardRechargeQuerGift> Gifts { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否赠送礼品标识(0-否 1-是)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "coupons")]
|
|
|
|
|
public List<CardRechargeQueryCoupon> Coupons { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|