AlipayFundBatchTransferResponse.py 1020 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 AlipayFundBatchTransferResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayFundBatchTransferResponse, self).__init__()
  8. self._batch_no = None
  9. self._batch_trans_id = 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_trans_id(self):
  18. return self._batch_trans_id
  19. @batch_trans_id.setter
  20. def batch_trans_id(self, value):
  21. self._batch_trans_id = value
  22. def parse_response_content(self, response_content):
  23. response = super(AlipayFundBatchTransferResponse, self).parse_response_content(response_content)
  24. if 'batch_no' in response:
  25. self.batch_no = response['batch_no']
  26. if 'batch_trans_id' in response:
  27. self.batch_trans_id = response['batch_trans_id']