MybankCreditLoantradePartnerPaymentQueryResponse.py 1.5 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 MybankCreditLoantradePartnerPaymentQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(MybankCreditLoantradePartnerPaymentQueryResponse, self).__init__()
  8. self._content = None
  9. self._finish_time = None
  10. self._in_apply_no = None
  11. self._status = None
  12. @property
  13. def content(self):
  14. return self._content
  15. @content.setter
  16. def content(self, value):
  17. self._content = value
  18. @property
  19. def finish_time(self):
  20. return self._finish_time
  21. @finish_time.setter
  22. def finish_time(self, value):
  23. self._finish_time = value
  24. @property
  25. def in_apply_no(self):
  26. return self._in_apply_no
  27. @in_apply_no.setter
  28. def in_apply_no(self, value):
  29. self._in_apply_no = value
  30. @property
  31. def status(self):
  32. return self._status
  33. @status.setter
  34. def status(self, value):
  35. self._status = value
  36. def parse_response_content(self, response_content):
  37. response = super(MybankCreditLoantradePartnerPaymentQueryResponse, self).parse_response_content(response_content)
  38. if 'content' in response:
  39. self.content = response['content']
  40. if 'finish_time' in response:
  41. self.finish_time = response['finish_time']
  42. if 'in_apply_no' in response:
  43. self.in_apply_no = response['in_apply_no']
  44. if 'status' in response:
  45. self.status = response['status']