using System.Xml.Serialization;

namespace Hncore.Pass.PaymentCenter.WeiFuTong.QueryOrder
{
    /// <summary>
    /// 威富通查询订单请求
    /// </summary>
    public class WeiFuTongQueryOrderRequest : WeiFuTongRequestBase
    {
        /// <summary>
        /// 商户系统内部的订单号, out_trade_no和transaction_id至少一个必填，同时存在时transaction_id优先
        /// </summary>
        [XmlElement("out_trade_no")]
        public string OutTradeNo { get; set; }

        /// <summary>
        /// 平台交易号, out_trade_no和transaction_id至少一个必填，同时存在时transaction_id优先。
        /// </summary>
        [XmlElement("transaction_id")]
        public string TransactionId { get; set; }

        public WeiFuTongQueryOrderRequest() 
            : base("unified.trade.query")
        {
        }
    }
}