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