Repository URL to install this package:
|
Version:
3.3.202-c2ee258 ▾
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
class ZhimaCreditAntifraudVerifyResponse(AlipayResponse):
def __init__(self):
super(ZhimaCreditAntifraudVerifyResponse, self).__init__()
self._biz_no = None
self._decision_result = None
self._solution_id = None
self._verify_code = None
@property
def biz_no(self):
return self._biz_no
@biz_no.setter
def biz_no(self, value):
self._biz_no = value
@property
def decision_result(self):
return self._decision_result
@decision_result.setter
def decision_result(self, value):
self._decision_result = value
@property
def solution_id(self):
return self._solution_id
@solution_id.setter
def solution_id(self, value):
self._solution_id = value
@property
def verify_code(self):
return self._verify_code
@verify_code.setter
def verify_code(self, value):
if isinstance(value, list):
self._verify_code = list()
for i in value:
self._verify_code.append(i)
def parse_response_content(self, response_content):
response = super(ZhimaCreditAntifraudVerifyResponse, self).parse_response_content(response_content)
if 'biz_no' in response:
self.biz_no = response['biz_no']
if 'decision_result' in response:
self.decision_result = response['decision_result']
if 'solution_id' in response:
self.solution_id = response['solution_id']
if 'verify_code' in response:
self.verify_code = response['verify_code']