|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.GuangChang
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 美食广场支付信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class VposOrderPay
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "id")]
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支付单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payNo")]
|
|
|
|
|
public string PayNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主单ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "ticketId")]
|
|
|
|
|
public string TicketId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主单单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "busNo")]
|
|
|
|
|
public string BusNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款方式编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payTypeNo")]
|
|
|
|
|
public string PayTypeNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payType")]
|
|
|
|
|
public string PayType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实收金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "paid")]
|
|
|
|
|
public decimal Paid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 找零金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "rchange")]
|
|
|
|
|
public decimal Rchange { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已收金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "money")]
|
|
|
|
|
public decimal Money { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 溢出金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "overAmount")]
|
|
|
|
|
public decimal OverAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "voucherNo")]
|
|
|
|
|
public string VoucherNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payDate")]
|
|
|
|
|
public string PayDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款卡号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "cardno")]
|
|
|
|
|
public string Cardno { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值卡支付前余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "cardYe")]
|
|
|
|
|
public decimal CardYe { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值卡支付前积分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "cardJf")]
|
|
|
|
|
public decimal CardJf { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否实收(0否1是)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "incomeFlag")]
|
|
|
|
|
public int IncomeFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 第三方扣费类型(0不扣费1按次数2按比例)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "otherRateType")]
|
|
|
|
|
public int OtherRateType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 第三方扣费值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "otherRateValue")]
|
|
|
|
|
public decimal OtherRateValue { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 第三方扣费
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "otherRate")]
|
|
|
|
|
public decimal OtherRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支付渠道(-1无 0原生支付 1付呗支付 2POS通交易-3 嗖嗖支付)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payChannel")]
|
|
|
|
|
public int PayChannel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "memo")]
|
|
|
|
|
public string Memo { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|