NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOfflineTrade.cs

69 lines
1.9 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>
/// AlipayOfflineTrade Data Structure.
/// </summary>
[Serializable]
public class AlipayOfflineTrade : AopObject
{
/// <summary>
/// 交易实际发生时间
/// </summary>
[XmlElement("actual_order_time")]
public string ActualOrderTime { get; set; }
/// <summary>
/// 交易金额
/// </summary>
[XmlElement("amount")]
public string Amount { get; set; }
/// <summary>
/// 交易对应的卡类型。
/// </summary>
[XmlElement("card_type")]
public string CardType { get; set; }
/// <summary>
/// 交易扩展信息,json格式字符串。
/// </summary>
[XmlElement("order_biz_context")]
public string OrderBizContext { get; set; }
/// <summary>
/// 支付宝外部交易号,唯一表示一笔商户支付宝交易。商户必须保证唯一。
/// </summary>
[XmlElement("out_trade_no")]
public string OutTradeNo { get; set; }
/// <summary>
/// 原始脱机操作记录
/// </summary>
[XmlArray("records")]
[XmlArrayItem("string")]
public List<string> Records { get; set; }
/// <summary>
/// 如果该值为空则默认为商户签约账号对应的支付宝用户ID
/// </summary>
[XmlElement("seller_login_name")]
public string SellerLoginName { get; set; }
/// <summary>
/// 脱机交易标题
/// </summary>
[XmlElement("subject")]
public string Subject { get; set; }
/// <summary>
/// 用户id
/// </summary>
[XmlElement("user_id")]
public string UserId { get; set; }
}
}