AlipayPcreditHuabeiAuthAgreementQueryResponse.py 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayPcreditHuabeiAuthAgreementQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayPcreditHuabeiAuthAgreementQueryResponse, self).__init__()
  8. self._agreement_name = None
  9. self._agreement_no = None
  10. self._agreement_status = None
  11. self._alipay_user_id = None
  12. self._auth_scene = None
  13. self._external_logon_id = None
  14. self._gmt_sign = None
  15. self._gmt_unsign = None
  16. self._out_biz_type = None
  17. self._out_sign_no = None
  18. self._rest_freeze_amount = None
  19. @property
  20. def agreement_name(self):
  21. return self._agreement_name
  22. @agreement_name.setter
  23. def agreement_name(self, value):
  24. self._agreement_name = value
  25. @property
  26. def agreement_no(self):
  27. return self._agreement_no
  28. @agreement_no.setter
  29. def agreement_no(self, value):
  30. self._agreement_no = value
  31. @property
  32. def agreement_status(self):
  33. return self._agreement_status
  34. @agreement_status.setter
  35. def agreement_status(self, value):
  36. self._agreement_status = value
  37. @property
  38. def alipay_user_id(self):
  39. return self._alipay_user_id
  40. @alipay_user_id.setter
  41. def alipay_user_id(self, value):
  42. self._alipay_user_id = value
  43. @property
  44. def auth_scene(self):
  45. return self._auth_scene
  46. @auth_scene.setter
  47. def auth_scene(self, value):
  48. self._auth_scene = value
  49. @property
  50. def external_logon_id(self):
  51. return self._external_logon_id
  52. @external_logon_id.setter
  53. def external_logon_id(self, value):
  54. self._external_logon_id = value
  55. @property
  56. def gmt_sign(self):
  57. return self._gmt_sign
  58. @gmt_sign.setter
  59. def gmt_sign(self, value):
  60. self._gmt_sign = value
  61. @property
  62. def gmt_unsign(self):
  63. return self._gmt_unsign
  64. @gmt_unsign.setter
  65. def gmt_unsign(self, value):
  66. self._gmt_unsign = value
  67. @property
  68. def out_biz_type(self):
  69. return self._out_biz_type
  70. @out_biz_type.setter
  71. def out_biz_type(self, value):
  72. self._out_biz_type = value
  73. @property
  74. def out_sign_no(self):
  75. return self._out_sign_no
  76. @out_sign_no.setter
  77. def out_sign_no(self, value):
  78. self._out_sign_no = value
  79. @property
  80. def rest_freeze_amount(self):
  81. return self._rest_freeze_amount
  82. @rest_freeze_amount.setter
  83. def rest_freeze_amount(self, value):
  84. self._rest_freeze_amount = value
  85. def parse_response_content(self, response_content):
  86. response = super(AlipayPcreditHuabeiAuthAgreementQueryResponse, self).parse_response_content(response_content)
  87. if 'agreement_name' in response:
  88. self.agreement_name = response['agreement_name']
  89. if 'agreement_no' in response:
  90. self.agreement_no = response['agreement_no']
  91. if 'agreement_status' in response:
  92. self.agreement_status = response['agreement_status']
  93. if 'alipay_user_id' in response:
  94. self.alipay_user_id = response['alipay_user_id']
  95. if 'auth_scene' in response:
  96. self.auth_scene = response['auth_scene']
  97. if 'external_logon_id' in response:
  98. self.external_logon_id = response['external_logon_id']
  99. if 'gmt_sign' in response:
  100. self.gmt_sign = response['gmt_sign']
  101. if 'gmt_unsign' in response:
  102. self.gmt_unsign = response['gmt_unsign']
  103. if 'out_biz_type' in response:
  104. self.out_biz_type = response['out_biz_type']
  105. if 'out_sign_no' in response:
  106. self.out_sign_no = response['out_sign_no']
  107. if 'rest_freeze_amount' in response:
  108. self.rest_freeze_amount = response['rest_freeze_amount']