AlipayFundTransAacollectBatchCreateResponse.py 1.0 KB

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