AlipayEbppIndustryBizinfoApplyResponse.py 3.6 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 AlipayEbppIndustryBizinfoApplyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEbppIndustryBizinfoApplyResponse, self).__init__()
  8. self._ability_code = None
  9. self._apply_flow_no = None
  10. self._bill_key = None
  11. self._biz_inst = None
  12. self._biz_type = None
  13. self._org_result_code = None
  14. self._out_apply_no = None
  15. self._result_code = None
  16. self._result_context = None
  17. self._result_msg = None
  18. self._status = None
  19. @property
  20. def ability_code(self):
  21. return self._ability_code
  22. @ability_code.setter
  23. def ability_code(self, value):
  24. self._ability_code = value
  25. @property
  26. def apply_flow_no(self):
  27. return self._apply_flow_no
  28. @apply_flow_no.setter
  29. def apply_flow_no(self, value):
  30. self._apply_flow_no = value
  31. @property
  32. def bill_key(self):
  33. return self._bill_key
  34. @bill_key.setter
  35. def bill_key(self, value):
  36. self._bill_key = value
  37. @property
  38. def biz_inst(self):
  39. return self._biz_inst
  40. @biz_inst.setter
  41. def biz_inst(self, value):
  42. self._biz_inst = value
  43. @property
  44. def biz_type(self):
  45. return self._biz_type
  46. @biz_type.setter
  47. def biz_type(self, value):
  48. self._biz_type = value
  49. @property
  50. def org_result_code(self):
  51. return self._org_result_code
  52. @org_result_code.setter
  53. def org_result_code(self, value):
  54. self._org_result_code = value
  55. @property
  56. def out_apply_no(self):
  57. return self._out_apply_no
  58. @out_apply_no.setter
  59. def out_apply_no(self, value):
  60. self._out_apply_no = value
  61. @property
  62. def result_code(self):
  63. return self._result_code
  64. @result_code.setter
  65. def result_code(self, value):
  66. self._result_code = value
  67. @property
  68. def result_context(self):
  69. return self._result_context
  70. @result_context.setter
  71. def result_context(self, value):
  72. self._result_context = value
  73. @property
  74. def result_msg(self):
  75. return self._result_msg
  76. @result_msg.setter
  77. def result_msg(self, value):
  78. self._result_msg = value
  79. @property
  80. def status(self):
  81. return self._status
  82. @status.setter
  83. def status(self, value):
  84. self._status = value
  85. def parse_response_content(self, response_content):
  86. response = super(AlipayEbppIndustryBizinfoApplyResponse, self).parse_response_content(response_content)
  87. if 'ability_code' in response:
  88. self.ability_code = response['ability_code']
  89. if 'apply_flow_no' in response:
  90. self.apply_flow_no = response['apply_flow_no']
  91. if 'bill_key' in response:
  92. self.bill_key = response['bill_key']
  93. if 'biz_inst' in response:
  94. self.biz_inst = response['biz_inst']
  95. if 'biz_type' in response:
  96. self.biz_type = response['biz_type']
  97. if 'org_result_code' in response:
  98. self.org_result_code = response['org_result_code']
  99. if 'out_apply_no' in response:
  100. self.out_apply_no = response['out_apply_no']
  101. if 'result_code' in response:
  102. self.result_code = response['result_code']
  103. if 'result_context' in response:
  104. self.result_context = response['result_context']
  105. if 'result_msg' in response:
  106. self.result_msg = response['result_msg']
  107. if 'status' in response:
  108. self.status = response['status']