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