using System; using System.Xml.Serialization; using System.Collections.Generic; using Aop.Api.Domain; namespace Aop.Api.Response { /// /// AlipayTradeQueryResponse. /// public class AlipayTradeQueryResponse : AopResponse { /// /// 支付宝店铺编号 /// [XmlElement("alipay_store_id")] public string AlipayStoreId { get; set; } /// /// 买家支付宝账号 /// [XmlElement("buyer_logon_id")] public string BuyerLogonId { get; set; } /// /// 买家实付金额,单位为元,两位小数。该金额代表该笔交易买家实际支付的金额,不包含商户折扣等金额 /// [XmlElement("buyer_pay_amount")] public string BuyerPayAmount { get; set; } /// /// 买家在支付宝的用户id /// [XmlElement("buyer_user_id")] public string BuyerUserId { get; set; } /// /// 本次交易支付所使用的单品券优惠的商品优惠信息 /// [XmlElement("discount_goods_detail")] public string DiscountGoodsDetail { get; set; } /// /// 交易支付使用的资金渠道 /// [XmlArray("fund_bill_list")] [XmlArrayItem("trade_fund_bill")] public List FundBillList { get; set; } /// /// 行业特殊信息(例如在医保卡支付业务中,向用户返回医疗信息)。 /// [XmlElement("industry_sepc_detail")] public string IndustrySepcDetail { get; set; } /// /// 交易中用户支付的可开具发票的金额,单位为元,两位小数。该金额代表该笔交易中可以给用户开具发票的金额 /// [XmlElement("invoice_amount")] public string InvoiceAmount { get; set; } /// /// 买家支付宝用户号,该字段将废弃,不要使用 /// [XmlElement("open_id")] public string OpenId { get; set; } /// /// 商家订单号 /// [XmlElement("out_trade_no")] public string OutTradeNo { get; set; } /// /// 积分支付的金额,单位为元,两位小数。该金额代表该笔交易中用户使用积分支付的金额,比如集分宝或者支付宝实时优惠等 /// [XmlElement("point_amount")] public string PointAmount { get; set; } /// /// 实收金额,单位为元,两位小数。该金额为本笔交易,商户账户能够实际收到的金额 /// [XmlElement("receipt_amount")] public string ReceiptAmount { get; set; } /// /// 本次交易打款给卖家的时间 /// [XmlElement("send_pay_date")] public string SendPayDate { get; set; } /// /// 商户门店编号 /// [XmlElement("store_id")] public string StoreId { get; set; } /// /// 请求交易支付中的商户店铺的名称 /// [XmlElement("store_name")] public string StoreName { get; set; } /// /// 商户机具终端编号 /// [XmlElement("terminal_id")] public string TerminalId { get; set; } /// /// 交易的订单金额,单位为元,两位小数。该参数的值为支付时传入的total_amount /// [XmlElement("total_amount")] public string TotalAmount { get; set; } /// /// 支付宝交易号 /// [XmlElement("trade_no")] public string TradeNo { get; set; } /// /// 交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款) /// [XmlElement("trade_status")] public string TradeStatus { get; set; } /// /// 本交易支付时使用的所有优惠券信息 /// [XmlArray("voucher_detail_list")] [XmlArrayItem("voucher_detail")] public List VoucherDetailList { get; set; } } }