AlipayPcreditLoanApplyQueryResponse.py 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayPcreditLoanApplyQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayPcreditLoanApplyQueryResponse, self).__init__()
  8. self._apply_amt = None
  9. self._apply_date = None
  10. self._ar_no = None
  11. self._cert_no = None
  12. self._cert_type = None
  13. self._credit_no = None
  14. self._daily_int_rate = None
  15. self._due_date = None
  16. self._encash_org = None
  17. self._loan_apply_no = None
  18. self._need_prepayment_fee = None
  19. self._payment_dt = None
  20. self._repay_mode = None
  21. self._status = None
  22. self._term = None
  23. self._term_unit = None
  24. self._user_name = None
  25. @property
  26. def apply_amt(self):
  27. return self._apply_amt
  28. @apply_amt.setter
  29. def apply_amt(self, value):
  30. self._apply_amt = value
  31. @property
  32. def apply_date(self):
  33. return self._apply_date
  34. @apply_date.setter
  35. def apply_date(self, value):
  36. self._apply_date = value
  37. @property
  38. def ar_no(self):
  39. return self._ar_no
  40. @ar_no.setter
  41. def ar_no(self, value):
  42. self._ar_no = value
  43. @property
  44. def cert_no(self):
  45. return self._cert_no
  46. @cert_no.setter
  47. def cert_no(self, value):
  48. self._cert_no = value
  49. @property
  50. def cert_type(self):
  51. return self._cert_type
  52. @cert_type.setter
  53. def cert_type(self, value):
  54. self._cert_type = value
  55. @property
  56. def credit_no(self):
  57. return self._credit_no
  58. @credit_no.setter
  59. def credit_no(self, value):
  60. self._credit_no = value
  61. @property
  62. def daily_int_rate(self):
  63. return self._daily_int_rate
  64. @daily_int_rate.setter
  65. def daily_int_rate(self, value):
  66. self._daily_int_rate = value
  67. @property
  68. def due_date(self):
  69. return self._due_date
  70. @due_date.setter
  71. def due_date(self, value):
  72. self._due_date = value
  73. @property
  74. def encash_org(self):
  75. return self._encash_org
  76. @encash_org.setter
  77. def encash_org(self, value):
  78. self._encash_org = value
  79. @property
  80. def loan_apply_no(self):
  81. return self._loan_apply_no
  82. @loan_apply_no.setter
  83. def loan_apply_no(self, value):
  84. self._loan_apply_no = value
  85. @property
  86. def need_prepayment_fee(self):
  87. return self._need_prepayment_fee
  88. @need_prepayment_fee.setter
  89. def need_prepayment_fee(self, value):
  90. self._need_prepayment_fee = value
  91. @property
  92. def payment_dt(self):
  93. return self._payment_dt
  94. @payment_dt.setter
  95. def payment_dt(self, value):
  96. self._payment_dt = value
  97. @property
  98. def repay_mode(self):
  99. return self._repay_mode
  100. @repay_mode.setter
  101. def repay_mode(self, value):
  102. self._repay_mode = value
  103. @property
  104. def status(self):
  105. return self._status
  106. @status.setter
  107. def status(self, value):
  108. self._status = value
  109. @property
  110. def term(self):
  111. return self._term
  112. @term.setter
  113. def term(self, value):
  114. self._term = value
  115. @property
  116. def term_unit(self):
  117. return self._term_unit
  118. @term_unit.setter
  119. def term_unit(self, value):
  120. self._term_unit = value
  121. @property
  122. def user_name(self):
  123. return self._user_name
  124. @user_name.setter
  125. def user_name(self, value):
  126. self._user_name = value
  127. def parse_response_content(self, response_content):
  128. response = super(AlipayPcreditLoanApplyQueryResponse, self).parse_response_content(response_content)
  129. if 'apply_amt' in response:
  130. self.apply_amt = response['apply_amt']
  131. if 'apply_date' in response:
  132. self.apply_date = response['apply_date']
  133. if 'ar_no' in response:
  134. self.ar_no = response['ar_no']
  135. if 'cert_no' in response:
  136. self.cert_no = response['cert_no']
  137. if 'cert_type' in response:
  138. self.cert_type = response['cert_type']
  139. if 'credit_no' in response:
  140. self.credit_no = response['credit_no']
  141. if 'daily_int_rate' in response:
  142. self.daily_int_rate = response['daily_int_rate']
  143. if 'due_date' in response:
  144. self.due_date = response['due_date']
  145. if 'encash_org' in response:
  146. self.encash_org = response['encash_org']
  147. if 'loan_apply_no' in response:
  148. self.loan_apply_no = response['loan_apply_no']
  149. if 'need_prepayment_fee' in response:
  150. self.need_prepayment_fee = response['need_prepayment_fee']
  151. if 'payment_dt' in response:
  152. self.payment_dt = response['payment_dt']
  153. if 'repay_mode' in response:
  154. self.repay_mode = response['repay_mode']
  155. if 'status' in response:
  156. self.status = response['status']
  157. if 'term' in response:
  158. self.term = response['term']
  159. if 'term_unit' in response:
  160. self.term_unit = response['term_unit']
  161. if 'user_name' in response:
  162. self.user_name = response['user_name']