MybankCreditUserSitememberEnterpriseMatchResponse.py 1.0 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 MybankCreditUserSitememberEnterpriseMatchResponse(AlipayResponse):
  6. def __init__(self):
  7. super(MybankCreditUserSitememberEnterpriseMatchResponse, self).__init__()
  8. self._match = None
  9. self._not_match_code = 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 not_match_code(self):
  18. return self._not_match_code
  19. @not_match_code.setter
  20. def not_match_code(self, value):
  21. self._not_match_code = value
  22. def parse_response_content(self, response_content):
  23. response = super(MybankCreditUserSitememberEnterpriseMatchResponse, self).parse_response_content(response_content)
  24. if 'match' in response:
  25. self.match = response['match']
  26. if 'not_match_code' in response:
  27. self.not_match_code = response['not_match_code']