using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// PosBillPayChannel Data Structure. /// [Serializable] public class PosBillPayChannel : AopObject { /// /// 支付渠道类型: ALIPAY:ALIPAY内部渠道支付 WECHAT:WECHAT外部渠道支付 /// [XmlElement("channel_type")] public string ChannelType { get; set; } /// /// 账单支付渠道维度优惠明细 /// [XmlArray("discount_details")] [XmlArrayItem("pos_discount_detail")] public List DiscountDetails { get; set; } /// /// 扩展信息,json对象格式,key和value都为字符串 /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 收银员ID /// [XmlElement("operator")] public string Operator { get; set; } /// /// 外部支付订单号,唯一标识本次支付的requestID /// [XmlElement("out_pay_no")] public string OutPayNo { get; set; } /// /// 支付抵扣金额 /// [XmlElement("pay_amount")] public string PayAmount { get; set; } /// /// 支付渠道本身自己的支付订单号 /// [XmlElement("pay_no")] public string PayNo { get; set; } /// /// 付款时间 /// [XmlElement("pay_time")] public string PayTime { get; set; } /// /// 支付实收金额 /// [XmlElement("receipt_amount")] public string ReceiptAmount { get; set; } /// /// 支付渠道交易号,对于支付宝是支付宝交易号,对于微信是微信交易号 /// [XmlElement("trade_no")] public string TradeNo { get; set; } /// /// 用户身份标识:手机号码、userId等 /// [XmlElement("user_identity")] public string UserIdentity { get; set; } } }