You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
4.6 KiB
C#

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