using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using System.Xml.Serialization;
|
|
namespace ApiTools.Core.Utils.NongYePayUtils.Models
|
{
|
[XmlRoot("ap")]
|
public class NongYePayGetBalanceRequest : NongYePayBaseRequest
|
{
|
public NongYePayGetBalanceRequest()
|
{
|
TransCode = "CQRA06";
|
}
|
|
/// <summary>
|
/// 业务数据
|
/// </summary>
|
[XmlElement("Cmp")]
|
public NongYePayGetBalanceRequestCmp Cmp { get; set; }
|
}
|
|
public class NongYePayGetBalanceRequestCmp
|
{
|
/// <summary>
|
/// 省市代码
|
/// </summary>
|
[XmlElement("DbProv")]
|
public string ProvinceCode { get; set; }
|
|
/// <summary>
|
/// 查询账号
|
/// </summary>
|
[XmlElement("DbAccNo")]
|
public string AccountNo { get; set; }
|
|
/// <summary>
|
/// 货币码
|
/// </summary>
|
[XmlElement("DbCur")]
|
public string CurrencyCode { get; set; }
|
}
|
|
[XmlRoot("ap")]
|
public class NongYePayGetBalanceResponse : NongYePayBaseResponse
|
{
|
[XmlElement("Acc")]
|
public NongYePayGetBalanceResponseAcc Acc { get; set; }
|
|
[XmlElement("Corp")]
|
public NongYePayGetBalanceResponseCorp Corp { get; set; }
|
}
|
|
public class NongYePayGetBalanceResponseCorp
|
{
|
/// <summary>
|
/// 借方户名
|
/// </summary>
|
[XmlElement("DbAccName")]
|
public string DbAccName { get; set; }
|
|
[XmlElement("UseState")]
|
public string UseState { get; set; }
|
}
|
|
public class NongYePayGetBalanceResponseAcc
|
{
|
/// <summary>
|
/// 账户余额
|
/// </summary>
|
[XmlElement("Bal")]
|
public string Bal { get; set; }
|
|
/// <summary>
|
/// 账户可用余额
|
/// </summary>
|
[XmlElement("AvailBal")]
|
public string AvailBal { get; set; }
|
|
/// <summary>
|
/// 冻结金额
|
/// </summary>
|
[XmlElement("FrzAmt")]
|
public string FrzAmt { get; set; }
|
|
/// <summary>
|
/// 冻结余额
|
/// </summary>
|
[XmlElement("FrzBal")]
|
public string FrzBal { get; set; }
|
|
/// <summary>
|
/// 不定期可用限额
|
/// </summary>
|
[XmlElement("ValUDLmt")]
|
public string ValUDLmt { get; set; }
|
|
/// <summary>
|
/// 月可用限额
|
/// </summary>
|
[XmlElement("ValMonthLmt")]
|
public string ValMonthLmt { get; set; }
|
|
/// <summary>
|
/// 日可用限额
|
/// </summary>
|
[XmlElement("ValDayLmt")]
|
public string ValDayLmt { get; set; }
|
|
/// <summary>
|
/// 昨日可用余额
|
/// </summary>
|
[XmlElement("LastAvailBal")]
|
public string LastAvailBal { get; set; }
|
|
/// <summary>
|
/// 昨日余额
|
/// </summary>
|
[XmlElement("LastBal")]
|
public string LastBal { get; set; }
|
|
/// <summary>
|
/// 账户类型
|
/// </summary>
|
[XmlElement("AccType")]
|
public string AccType { get; set; }
|
|
/// <summary>
|
/// 账户状态
|
/// </summary>
|
[XmlElement("AccSts")]
|
public string AccSts { get; set; }
|
|
}
|
}
|