|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace POSV.WebService
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class StationTradeChange
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "STATIONID")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车站ID(统一提供,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StationId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "STATIONNAME")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车站名称(统一提供,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StationName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "SHOPNO")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商店ID(统一提供,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShopNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "SHOPNAME")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商店名称(统一提供,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShopName { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "BILLTYPE")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商品分类
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BillType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "BILLNO")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单号(必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BillNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "BILLALLPRICES")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商品总价(必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BillAllPrices { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "BILLTIME")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 售销时间(必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BillTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "PAYMENT")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支付方式(现金、非现金,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Payment { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "TRANSTYPE")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交易类型(退货、销售、赠送,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TransType { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "SOURCETYPE")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 来源类型(自动售货机、POS机、网络配餐,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SourceType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "SOURCENO")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 来源设备号(POS机号)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SourceNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "BRANCH")]
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属分公司(统一提供,必填)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Branch { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|