AlipayTradeBatchTransferResponse.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 AlipayTradeBatchTransferResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayTradeBatchTransferResponse, self).__init__()
  8. self._gmt_create = None
  9. self._out_request_no = None
  10. self._result_code = None
  11. self._settle_no = None
  12. @property
  13. def gmt_create(self):
  14. return self._gmt_create
  15. @gmt_create.setter
  16. def gmt_create(self, value):
  17. self._gmt_create = value
  18. @property
  19. def out_request_no(self):
  20. return self._out_request_no
  21. @out_request_no.setter
  22. def out_request_no(self, value):
  23. self._out_request_no = value
  24. @property
  25. def result_code(self):
  26. return self._result_code
  27. @result_code.setter
  28. def result_code(self, value):
  29. self._result_code = value
  30. @property
  31. def settle_no(self):
  32. return self._settle_no
  33. @settle_no.setter
  34. def settle_no(self, value):
  35. self._settle_no = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipayTradeBatchTransferResponse, self).parse_response_content(response_content)
  38. if 'gmt_create' in response:
  39. self.gmt_create = response['gmt_create']
  40. if 'out_request_no' in response:
  41. self.out_request_no = response['out_request_no']
  42. if 'result_code' in response:
  43. self.result_code = response['result_code']
  44. if 'settle_no' in response:
  45. self.settle_no = response['settle_no']