sunpengfei
1 天以前 ab9b84ee42c872cd2277d2e3a863718355bcc6aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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; }
 
    }
}