123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- class ZhimaCustomerCertificationCertifyResponse(AlipayResponse):
- def __init__(self):
- super(ZhimaCustomerCertificationCertifyResponse, self).__init__()
- self._biz_no = None
- self._failed_reason = None
- self._passed = None
- @property
- def biz_no(self):
- return self._biz_no
- @biz_no.setter
- def biz_no(self, value):
- self._biz_no = value
- @property
- def failed_reason(self):
- return self._failed_reason
- @failed_reason.setter
- def failed_reason(self, value):
- self._failed_reason = value
- @property
- def passed(self):
- return self._passed
- @passed.setter
- def passed(self, value):
- self._passed = value
- def parse_response_content(self, response_content):
- response = super(ZhimaCustomerCertificationCertifyResponse, self).parse_response_content(response_content)
- if 'biz_no' in response:
- self.biz_no = response['biz_no']
- if 'failed_reason' in response:
- self.failed_reason = response['failed_reason']
- if 'passed' in response:
- self.passed = response['passed']
|