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"; } /// /// 业务数据 /// [XmlElement("Cmp")] public NongYePayGetBalanceRequestCmp Cmp { get; set; } } public class NongYePayGetBalanceRequestCmp { /// /// 省市代码 /// [XmlElement("DbProv")] public string ProvinceCode { get; set; } /// /// 查询账号 /// [XmlElement("DbAccNo")] public string AccountNo { get; set; } /// /// 货币码 /// [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 { /// /// 借方户名 /// [XmlElement("DbAccName")] public string DbAccName { get; set; } [XmlElement("UseState")] public string UseState { get; set; } } public class NongYePayGetBalanceResponseAcc { /// /// 账户余额 /// [XmlElement("Bal")] public string Bal { get; set; } /// /// 账户可用余额 /// [XmlElement("AvailBal")] public string AvailBal { get; set; } /// /// 冻结金额 /// [XmlElement("FrzAmt")] public string FrzAmt { get; set; } /// /// 冻结余额 /// [XmlElement("FrzBal")] public string FrzBal { get; set; } /// /// 不定期可用限额 /// [XmlElement("ValUDLmt")] public string ValUDLmt { get; set; } /// /// 月可用限额 /// [XmlElement("ValMonthLmt")] public string ValMonthLmt { get; set; } /// /// 日可用限额 /// [XmlElement("ValDayLmt")] public string ValDayLmt { get; set; } /// /// 昨日可用余额 /// [XmlElement("LastAvailBal")] public string LastAvailBal { get; set; } /// /// 昨日余额 /// [XmlElement("LastBal")] public string LastBal { get; set; } /// /// 账户类型 /// [XmlElement("AccType")] public string AccType { get; set; } /// /// 账户状态 /// [XmlElement("AccSts")] public string AccSts { get; set; } } }