AlipayFundTransBatchCreatesinglebatchResponse.py 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayFundTransBatchCreatesinglebatchResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayFundTransBatchCreatesinglebatchResponse, self).__init__()
  8. self._batch_no = None
  9. self._ext_param = None
  10. self._token = None
  11. @property
  12. def batch_no(self):
  13. return self._batch_no
  14. @batch_no.setter
  15. def batch_no(self, value):
  16. self._batch_no = value
  17. @property
  18. def ext_param(self):
  19. return self._ext_param
  20. @ext_param.setter
  21. def ext_param(self, value):
  22. self._ext_param = value
  23. @property
  24. def token(self):
  25. return self._token
  26. @token.setter
  27. def token(self, value):
  28. self._token = value
  29. def parse_response_content(self, response_content):
  30. response = super(AlipayFundTransBatchCreatesinglebatchResponse, self).parse_response_content(response_content)
  31. if 'batch_no' in response:
  32. self.batch_no = response['batch_no']
  33. if 'ext_param' in response:
  34. self.ext_param = response['ext_param']
  35. if 'token' in response:
  36. self.token = response['token']