NewGaoKaoApi/PaymentSDK/AliPay/Domain/ReceiptDetailInfo.cs

135 lines
3.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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