AlipayEbppFacepayBillPayResponse.py 2.9 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 AlipayEbppFacepayBillPayResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEbppFacepayBillPayResponse, self).__init__()
  8. self._bill_no = None
  9. self._biz_status = None
  10. self._charge_inst = None
  11. self._extend_field = None
  12. self._inst_no = None
  13. self._out_order_no = None
  14. self._status = None
  15. self._trade_date = None
  16. self._user_id = None
  17. @property
  18. def bill_no(self):
  19. return self._bill_no
  20. @bill_no.setter
  21. def bill_no(self, value):
  22. self._bill_no = value
  23. @property
  24. def biz_status(self):
  25. return self._biz_status
  26. @biz_status.setter
  27. def biz_status(self, value):
  28. self._biz_status = value
  29. @property
  30. def charge_inst(self):
  31. return self._charge_inst
  32. @charge_inst.setter
  33. def charge_inst(self, value):
  34. self._charge_inst = value
  35. @property
  36. def extend_field(self):
  37. return self._extend_field
  38. @extend_field.setter
  39. def extend_field(self, value):
  40. self._extend_field = value
  41. @property
  42. def inst_no(self):
  43. return self._inst_no
  44. @inst_no.setter
  45. def inst_no(self, value):
  46. self._inst_no = value
  47. @property
  48. def out_order_no(self):
  49. return self._out_order_no
  50. @out_order_no.setter
  51. def out_order_no(self, value):
  52. self._out_order_no = value
  53. @property
  54. def status(self):
  55. return self._status
  56. @status.setter
  57. def status(self, value):
  58. self._status = value
  59. @property
  60. def trade_date(self):
  61. return self._trade_date
  62. @trade_date.setter
  63. def trade_date(self, value):
  64. self._trade_date = value
  65. @property
  66. def user_id(self):
  67. return self._user_id
  68. @user_id.setter
  69. def user_id(self, value):
  70. self._user_id = value
  71. def parse_response_content(self, response_content):
  72. response = super(AlipayEbppFacepayBillPayResponse, self).parse_response_content(response_content)
  73. if 'bill_no' in response:
  74. self.bill_no = response['bill_no']
  75. if 'biz_status' in response:
  76. self.biz_status = response['biz_status']
  77. if 'charge_inst' in response:
  78. self.charge_inst = response['charge_inst']
  79. if 'extend_field' in response:
  80. self.extend_field = response['extend_field']
  81. if 'inst_no' in response:
  82. self.inst_no = response['inst_no']
  83. if 'out_order_no' in response:
  84. self.out_order_no = response['out_order_no']
  85. if 'status' in response:
  86. self.status = response['status']
  87. if 'trade_date' in response:
  88. self.trade_date = response['trade_date']
  89. if 'user_id' in response:
  90. self.user_id = response['user_id']