AlipayOpenRequestBatchSendResponse.py 754 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayOpenRequestBatchSendResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayOpenRequestBatchSendResponse, self).__init__()
  8. self._response_body = None
  9. @property
  10. def response_body(self):
  11. return self._response_body
  12. @response_body.setter
  13. def response_body(self, value):
  14. self._response_body = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipayOpenRequestBatchSendResponse, self).parse_response_content(response_content)
  17. if 'response_body' in response:
  18. self.response_body = response['response_body']