AlipayEcoMycarDataExternalSendResponse.py 1.1 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 AlipayEcoMycarDataExternalSendResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoMycarDataExternalSendResponse, self).__init__()
  8. self._external_system_name = None
  9. self._process_result = None
  10. @property
  11. def external_system_name(self):
  12. return self._external_system_name
  13. @external_system_name.setter
  14. def external_system_name(self, value):
  15. self._external_system_name = value
  16. @property
  17. def process_result(self):
  18. return self._process_result
  19. @process_result.setter
  20. def process_result(self, value):
  21. self._process_result = value
  22. def parse_response_content(self, response_content):
  23. response = super(AlipayEcoMycarDataExternalSendResponse, self).parse_response_content(response_content)
  24. if 'external_system_name' in response:
  25. self.external_system_name = response['external_system_name']
  26. if 'process_result' in response:
  27. self.process_result = response['process_result']