SsdataDataserviceRiskBusinesslicenseCertifyResponse.py 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class SsdataDataserviceRiskBusinesslicenseCertifyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(SsdataDataserviceRiskBusinesslicenseCertifyResponse, self).__init__()
  8. self._address = None
  9. self._bis_token = None
  10. self._check_result = None
  11. self._credit_code = None
  12. self._ent_legal_name = None
  13. self._ent_name = None
  14. self._expires = None
  15. self._expires_end = None
  16. self._expires_start = None
  17. self._match_param = None
  18. self._no_match_param = None
  19. self._unique_id = None
  20. @property
  21. def address(self):
  22. return self._address
  23. @address.setter
  24. def address(self, value):
  25. self._address = value
  26. @property
  27. def bis_token(self):
  28. return self._bis_token
  29. @bis_token.setter
  30. def bis_token(self, value):
  31. self._bis_token = value
  32. @property
  33. def check_result(self):
  34. return self._check_result
  35. @check_result.setter
  36. def check_result(self, value):
  37. self._check_result = value
  38. @property
  39. def credit_code(self):
  40. return self._credit_code
  41. @credit_code.setter
  42. def credit_code(self, value):
  43. self._credit_code = value
  44. @property
  45. def ent_legal_name(self):
  46. return self._ent_legal_name
  47. @ent_legal_name.setter
  48. def ent_legal_name(self, value):
  49. self._ent_legal_name = value
  50. @property
  51. def ent_name(self):
  52. return self._ent_name
  53. @ent_name.setter
  54. def ent_name(self, value):
  55. self._ent_name = value
  56. @property
  57. def expires(self):
  58. return self._expires
  59. @expires.setter
  60. def expires(self, value):
  61. self._expires = value
  62. @property
  63. def expires_end(self):
  64. return self._expires_end
  65. @expires_end.setter
  66. def expires_end(self, value):
  67. self._expires_end = value
  68. @property
  69. def expires_start(self):
  70. return self._expires_start
  71. @expires_start.setter
  72. def expires_start(self, value):
  73. self._expires_start = value
  74. @property
  75. def match_param(self):
  76. return self._match_param
  77. @match_param.setter
  78. def match_param(self, value):
  79. self._match_param = value
  80. @property
  81. def no_match_param(self):
  82. return self._no_match_param
  83. @no_match_param.setter
  84. def no_match_param(self, value):
  85. self._no_match_param = value
  86. @property
  87. def unique_id(self):
  88. return self._unique_id
  89. @unique_id.setter
  90. def unique_id(self, value):
  91. self._unique_id = value
  92. def parse_response_content(self, response_content):
  93. response = super(SsdataDataserviceRiskBusinesslicenseCertifyResponse, self).parse_response_content(response_content)
  94. if 'address' in response:
  95. self.address = response['address']
  96. if 'bis_token' in response:
  97. self.bis_token = response['bis_token']
  98. if 'check_result' in response:
  99. self.check_result = response['check_result']
  100. if 'credit_code' in response:
  101. self.credit_code = response['credit_code']
  102. if 'ent_legal_name' in response:
  103. self.ent_legal_name = response['ent_legal_name']
  104. if 'ent_name' in response:
  105. self.ent_name = response['ent_name']
  106. if 'expires' in response:
  107. self.expires = response['expires']
  108. if 'expires_end' in response:
  109. self.expires_end = response['expires_end']
  110. if 'expires_start' in response:
  111. self.expires_start = response['expires_start']
  112. if 'match_param' in response:
  113. self.match_param = response['match_param']
  114. if 'no_match_param' in response:
  115. self.no_match_param = response['no_match_param']
  116. if 'unique_id' in response:
  117. self.unique_id = response['unique_id']