AlipayDataAiserviceJunengLoanQueryResponse.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayDataAiserviceJunengLoanQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayDataAiserviceJunengLoanQueryResponse, self).__init__()
  8. self._biz_error_code = None
  9. self._hashed_cert_no = None
  10. self._request_uuid = None
  11. self._result = None
  12. @property
  13. def biz_error_code(self):
  14. return self._biz_error_code
  15. @biz_error_code.setter
  16. def biz_error_code(self, value):
  17. self._biz_error_code = value
  18. @property
  19. def hashed_cert_no(self):
  20. return self._hashed_cert_no
  21. @hashed_cert_no.setter
  22. def hashed_cert_no(self, value):
  23. self._hashed_cert_no = value
  24. @property
  25. def request_uuid(self):
  26. return self._request_uuid
  27. @request_uuid.setter
  28. def request_uuid(self, value):
  29. self._request_uuid = value
  30. @property
  31. def result(self):
  32. return self._result
  33. @result.setter
  34. def result(self, value):
  35. self._result = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipayDataAiserviceJunengLoanQueryResponse, self).parse_response_content(response_content)
  38. if 'biz_error_code' in response:
  39. self.biz_error_code = response['biz_error_code']
  40. if 'hashed_cert_no' in response:
  41. self.hashed_cert_no = response['hashed_cert_no']
  42. if 'request_uuid' in response:
  43. self.request_uuid = response['request_uuid']
  44. if 'result' in response:
  45. self.result = response['result']