SsdataDataserviceRiskAntifraudVerifyResponse.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class SsdataDataserviceRiskAntifraudVerifyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(SsdataDataserviceRiskAntifraudVerifyResponse, self).__init__()
  8. self._biz_no = None
  9. self._unique_id = None
  10. self._verify_code = None
  11. @property
  12. def biz_no(self):
  13. return self._biz_no
  14. @biz_no.setter
  15. def biz_no(self, value):
  16. self._biz_no = value
  17. @property
  18. def unique_id(self):
  19. return self._unique_id
  20. @unique_id.setter
  21. def unique_id(self, value):
  22. self._unique_id = value
  23. @property
  24. def verify_code(self):
  25. return self._verify_code
  26. @verify_code.setter
  27. def verify_code(self, value):
  28. self._verify_code = value
  29. def parse_response_content(self, response_content):
  30. response = super(SsdataDataserviceRiskAntifraudVerifyResponse, self).parse_response_content(response_content)
  31. if 'biz_no' in response:
  32. self.biz_no = response['biz_no']
  33. if 'unique_id' in response:
  34. self.unique_id = response['unique_id']
  35. if 'verify_code' in response:
  36. self.verify_code = response['verify_code']