using System;
using System.Collections.Generic;
using System.Text;

namespace ASHermed.SinoInterface.Api.ContractModel.Payment.Model
{
    /// <summary>
    ///交易查询 回参
    /// </summary>
    public class LcTradeQueryModel
    {
        /// <summary>
        /// 发送请求的时间，格式'yyyy - MM - dd HH:mm:ss'
        /// </summary>
        public string Timestamp { get; set; }
        /// <summary>
        /// 请求随机字符串 每次请求值不能一样
        /// </summary>
        public string Nonce_Str { get; set; }
        /// <summary>
        /// 网关返回码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 网关返回码描述
        /// </summary>
        public string Msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public LcTradeQuery_BizContent Biz_Content { get; set; }
       
    }
    /// <summary>
    /// 
    /// </summary>
    public class LcTradeQuery_BizContent
    {
        /// <summary>
        /// 否	-	业务返回码 
        /// </summary>
        public string sub_code { get; set; }
        /// <summary>
        /// 否	-	交易已被支付
        /// </summary>
        public string sub_msg { get; set; }
        /// <summary>
        /// 必填	商家订单号	20150320010101001
        /// </summary>
        public string out_trade_no { get; set; }
        /// <summary>
        /// 必填	支付宝或者微信交易号
        /// </summary>
        public string trade_no { get; set; }
        /// <summary>
        /// 必填	交易状态 
        /// </summary>
        public string trade_status { get; set; }
        /// <summary>
        /// 必填	交易的订单金额	88.88
        /// </summary>
        public double total_amount { get; set; }
        /// <summary>
        /// 必填	支付用户的唯一标识
        /// </summary>
        public string user_id { get; set; }
        /// <summary>
        /// 选填	买家支付平台账号
        /// </summary>
        public string logon_id { get; set; }
        /// <summary>
        /// 选填	用户支付付款渠道 alipay 或者 weixin 或者 unionpay 或者 eshimin
        /// </summary>
        public string payment_type { get; set; }
        /// <summary>
        /// 选填	支付时间
        /// </summary>
        public DateTime pay_date { get; set; }
    }

}
