using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// ReceiptDetailInfo Data Structure. /// [Serializable] public class ReceiptDetailInfo : AopObject { /// /// 交易实付金额,单位分 /// [XmlElement("actual_pay_amount")] public long ActualPayAmount { get; set; } /// /// 机具身份id /// [XmlElement("biztid")] public string Biztid { get; set; } /// /// 用户支付宝uid /// [XmlElement("buyer_user_id")] public string BuyerUserId { get; set; } /// /// 币种(CNY-人命币) /// [XmlElement("currency")] public string Currency { get; set; } /// /// 取餐号 /// [XmlElement("fetch_num")] public string FetchNum { get; set; } /// /// 小票订单产生时间 /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 电子小票id /// [XmlElement("id")] public string Id { get; set; } /// /// 电子发票链接 /// [XmlElement("invoice_entry")] public string InvoiceEntry { get; set; } /// /// 商户logo链接 /// [XmlElement("logo")] public string Logo { get; set; } /// /// 门店优惠金额,单位分 /// [XmlElement("merchant_discount_amount")] public long MerchantDiscountAmount { get; set; } /// /// 商户名称 /// [XmlElement("merchant_name")] public string MerchantName { get; set; } /// /// 订单原价,单位分 /// [XmlElement("origin_amount")] public long OriginAmount { get; set; } /// /// 外部订单号,小票编号 /// [XmlElement("out_trade_id")] public string OutTradeId { get; set; } /// /// 平台(tmall)优惠金额,单位分 /// [XmlElement("platform_discount_amount")] public long PlatformDiscountAmount { get; set; } /// /// 门店地址 /// [XmlElement("shop_address")] public string ShopAddress { get; set; } /// /// 门店联系方式 /// [XmlElement("shop_contract")] public string ShopContract { get; set; } /// /// 门店名称 /// [XmlElement("shop_name")] public string ShopName { get; set; } /// /// 商户类型 /// [XmlElement("shop_type")] public string ShopType { get; set; } /// /// 商品详情 /// [XmlArray("skus")] [XmlArrayItem("receipt_sku")] public List Skus { get; set; } /// /// 支付宝订单号 /// [XmlElement("trade_id")] public string TradeId { get; set; } } }