MybankCreditLoanapplyDataQueryResponse.py 960 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class MybankCreditLoanapplyDataQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(MybankCreditLoanapplyDataQueryResponse, self).__init__()
  8. self._data = None
  9. self._data_time = None
  10. @property
  11. def data(self):
  12. return self._data
  13. @data.setter
  14. def data(self, value):
  15. self._data = value
  16. @property
  17. def data_time(self):
  18. return self._data_time
  19. @data_time.setter
  20. def data_time(self, value):
  21. self._data_time = value
  22. def parse_response_content(self, response_content):
  23. response = super(MybankCreditLoanapplyDataQueryResponse, self).parse_response_content(response_content)
  24. if 'data' in response:
  25. self.data = response['data']
  26. if 'data_time' in response:
  27. self.data_time = response['data_time']