AlipayInsSceneApplicationApplyResponse.py 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayInsSceneApplicationApplyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayInsSceneApplicationApplyResponse, self).__init__()
  8. self._application_no = None
  9. self._operation_id = None
  10. self._out_biz_no = None
  11. self._policy_detail_url_4_mobile = None
  12. self._policy_detail_url_4_pc = None
  13. self._policy_no = None
  14. self._trade_no = None
  15. self._trade_type = None
  16. self._underwrite_reject_reason = None
  17. @property
  18. def application_no(self):
  19. return self._application_no
  20. @application_no.setter
  21. def application_no(self, value):
  22. self._application_no = value
  23. @property
  24. def operation_id(self):
  25. return self._operation_id
  26. @operation_id.setter
  27. def operation_id(self, value):
  28. self._operation_id = value
  29. @property
  30. def out_biz_no(self):
  31. return self._out_biz_no
  32. @out_biz_no.setter
  33. def out_biz_no(self, value):
  34. self._out_biz_no = value
  35. @property
  36. def policy_detail_url_4_mobile(self):
  37. return self._policy_detail_url_4_mobile
  38. @policy_detail_url_4_mobile.setter
  39. def policy_detail_url_4_mobile(self, value):
  40. self._policy_detail_url_4_mobile = value
  41. @property
  42. def policy_detail_url_4_pc(self):
  43. return self._policy_detail_url_4_pc
  44. @policy_detail_url_4_pc.setter
  45. def policy_detail_url_4_pc(self, value):
  46. self._policy_detail_url_4_pc = value
  47. @property
  48. def policy_no(self):
  49. return self._policy_no
  50. @policy_no.setter
  51. def policy_no(self, value):
  52. self._policy_no = value
  53. @property
  54. def trade_no(self):
  55. return self._trade_no
  56. @trade_no.setter
  57. def trade_no(self, value):
  58. self._trade_no = value
  59. @property
  60. def trade_type(self):
  61. return self._trade_type
  62. @trade_type.setter
  63. def trade_type(self, value):
  64. self._trade_type = value
  65. @property
  66. def underwrite_reject_reason(self):
  67. return self._underwrite_reject_reason
  68. @underwrite_reject_reason.setter
  69. def underwrite_reject_reason(self, value):
  70. self._underwrite_reject_reason = value
  71. def parse_response_content(self, response_content):
  72. response = super(AlipayInsSceneApplicationApplyResponse, self).parse_response_content(response_content)
  73. if 'application_no' in response:
  74. self.application_no = response['application_no']
  75. if 'operation_id' in response:
  76. self.operation_id = response['operation_id']
  77. if 'out_biz_no' in response:
  78. self.out_biz_no = response['out_biz_no']
  79. if 'policy_detail_url_4_mobile' in response:
  80. self.policy_detail_url_4_mobile = response['policy_detail_url_4_mobile']
  81. if 'policy_detail_url_4_pc' in response:
  82. self.policy_detail_url_4_pc = response['policy_detail_url_4_pc']
  83. if 'policy_no' in response:
  84. self.policy_no = response['policy_no']
  85. if 'trade_no' in response:
  86. self.trade_no = response['trade_no']
  87. if 'trade_type' in response:
  88. self.trade_type = response['trade_type']
  89. if 'underwrite_reject_reason' in response:
  90. self.underwrite_reject_reason = response['underwrite_reject_reason']