using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
///
/// AlipayTradeAdvanceConsultResponse.
///
public class AlipayTradeAdvanceConsultResponse : AopResponse
{
///
/// true 代表当前时间点,用户允许垫资 false 代表当前时间,用户不允许垫资
///
[XmlElement("refer_result")]
public bool ReferResult { get; set; }
///
/// 用户被注销
///
[XmlElement("result_code")]
public string ResultCode { get; set; }
///
/// 返回用户不准入原因
///
[XmlElement("result_message")]
public string ResultMessage { get; set; }
///
/// 订单风险评估等级,在单笔订单风险预评估时返回。当基础风险校验通过时,可通过该值获取业务风险评估等级。取值:2-高风险;1-低风险。
///
[XmlElement("risk_level")]
public string RiskLevel { get; set; }
///
/// 用户剩余的总待还金额,无论当前用户是否允许垫资,都会返回改属性
///
[XmlElement("wait_repayment_amount")]
public string WaitRepaymentAmount { get; set; }
///
/// 用户总的未还的垫资笔数,无论用户是否允许垫资,都会返回该属性
///
[XmlElement("wait_repayment_order_count")]
public long WaitRepaymentOrderCount { get; set; }
///
/// 待还订单列表,无论用户当前状态是否允许垫资,都会返回当前用户在商户下的待还订单信息
///
[XmlArray("wait_repayment_order_infos")]
[XmlArrayItem("wait_repayment_order_info")]
public List WaitRepaymentOrderInfos { get; set; }
}
}