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