using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
///
/// ReceiptBizData Data Structure.
///
[Serializable]
public class ReceiptBizData : AopObject
{
///
/// 交易实付金额,单位分
///
[XmlElement("actual_pay_amount")]
public long ActualPayAmount { get; set; }
///
/// 支付时间
///
[XmlElement("actual_pay_time")]
public string ActualPayTime { get; set; }
///
/// 机具身份id
///
[XmlElement("biztid")]
public string Biztid { get; set; }
///
/// 币种(CNY-人命币)
///
[XmlElement("currency")]
public string Currency { get; set; }
///
/// 取餐号
///
[XmlElement("fetch_num")]
public string FetchNum { get; set; }
///
/// 电子发票链接
///
[XmlElement("invoice_entry")]
public string InvoiceEntry { 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; }
///
/// 其他优惠
///
[XmlArray("other_discount_info")]
[XmlArrayItem("receipt_discount_info")]
public List OtherDiscountInfo { 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; }
///
/// 交易来源,barcode-扫码,face-刷脸,other-其他
///
[XmlElement("trade_source")]
public string TradeSource { get; set; }
}
}