MybankCreditLoantradeRepayBudgetQueryResponse.py 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class MybankCreditLoantradeRepayBudgetQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(MybankCreditLoantradeRepayBudgetQueryResponse, self).__init__()
  8. self._apply_repay_prin = None
  9. self._loan_ar_no = None
  10. self._should_repay_fee = None
  11. self._should_repay_int = None
  12. self._should_repay_penalty = None
  13. self._should_repay_pre_fee = None
  14. self._should_repay_prin = None
  15. @property
  16. def apply_repay_prin(self):
  17. return self._apply_repay_prin
  18. @apply_repay_prin.setter
  19. def apply_repay_prin(self, value):
  20. self._apply_repay_prin = value
  21. @property
  22. def loan_ar_no(self):
  23. return self._loan_ar_no
  24. @loan_ar_no.setter
  25. def loan_ar_no(self, value):
  26. self._loan_ar_no = value
  27. @property
  28. def should_repay_fee(self):
  29. return self._should_repay_fee
  30. @should_repay_fee.setter
  31. def should_repay_fee(self, value):
  32. self._should_repay_fee = value
  33. @property
  34. def should_repay_int(self):
  35. return self._should_repay_int
  36. @should_repay_int.setter
  37. def should_repay_int(self, value):
  38. self._should_repay_int = value
  39. @property
  40. def should_repay_penalty(self):
  41. return self._should_repay_penalty
  42. @should_repay_penalty.setter
  43. def should_repay_penalty(self, value):
  44. self._should_repay_penalty = value
  45. @property
  46. def should_repay_pre_fee(self):
  47. return self._should_repay_pre_fee
  48. @should_repay_pre_fee.setter
  49. def should_repay_pre_fee(self, value):
  50. self._should_repay_pre_fee = value
  51. @property
  52. def should_repay_prin(self):
  53. return self._should_repay_prin
  54. @should_repay_prin.setter
  55. def should_repay_prin(self, value):
  56. self._should_repay_prin = value
  57. def parse_response_content(self, response_content):
  58. response = super(MybankCreditLoantradeRepayBudgetQueryResponse, self).parse_response_content(response_content)
  59. if 'apply_repay_prin' in response:
  60. self.apply_repay_prin = response['apply_repay_prin']
  61. if 'loan_ar_no' in response:
  62. self.loan_ar_no = response['loan_ar_no']
  63. if 'should_repay_fee' in response:
  64. self.should_repay_fee = response['should_repay_fee']
  65. if 'should_repay_int' in response:
  66. self.should_repay_int = response['should_repay_int']
  67. if 'should_repay_penalty' in response:
  68. self.should_repay_penalty = response['should_repay_penalty']
  69. if 'should_repay_pre_fee' in response:
  70. self.should_repay_pre_fee = response['should_repay_pre_fee']
  71. if 'should_repay_prin' in response:
  72. self.should_repay_prin = response['should_repay_prin']