ZhimaCreditPeIndustryTradeQueryResponse.py 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class ZhimaCreditPeIndustryTradeQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(ZhimaCreditPeIndustryTradeQueryResponse, self).__init__()
  8. self._alipay_fund_order_no = None
  9. self._alipay_out_trade_no = None
  10. self._amount = None
  11. self._fund_status = None
  12. self._fund_type = None
  13. self._out_fund_no = None
  14. self._pay_time = None
  15. self._zm_order_id = None
  16. @property
  17. def alipay_fund_order_no(self):
  18. return self._alipay_fund_order_no
  19. @alipay_fund_order_no.setter
  20. def alipay_fund_order_no(self, value):
  21. self._alipay_fund_order_no = value
  22. @property
  23. def alipay_out_trade_no(self):
  24. return self._alipay_out_trade_no
  25. @alipay_out_trade_no.setter
  26. def alipay_out_trade_no(self, value):
  27. self._alipay_out_trade_no = value
  28. @property
  29. def amount(self):
  30. return self._amount
  31. @amount.setter
  32. def amount(self, value):
  33. self._amount = value
  34. @property
  35. def fund_status(self):
  36. return self._fund_status
  37. @fund_status.setter
  38. def fund_status(self, value):
  39. self._fund_status = value
  40. @property
  41. def fund_type(self):
  42. return self._fund_type
  43. @fund_type.setter
  44. def fund_type(self, value):
  45. self._fund_type = value
  46. @property
  47. def out_fund_no(self):
  48. return self._out_fund_no
  49. @out_fund_no.setter
  50. def out_fund_no(self, value):
  51. self._out_fund_no = value
  52. @property
  53. def pay_time(self):
  54. return self._pay_time
  55. @pay_time.setter
  56. def pay_time(self, value):
  57. self._pay_time = value
  58. @property
  59. def zm_order_id(self):
  60. return self._zm_order_id
  61. @zm_order_id.setter
  62. def zm_order_id(self, value):
  63. self._zm_order_id = value
  64. def parse_response_content(self, response_content):
  65. response = super(ZhimaCreditPeIndustryTradeQueryResponse, self).parse_response_content(response_content)
  66. if 'alipay_fund_order_no' in response:
  67. self.alipay_fund_order_no = response['alipay_fund_order_no']
  68. if 'alipay_out_trade_no' in response:
  69. self.alipay_out_trade_no = response['alipay_out_trade_no']
  70. if 'amount' in response:
  71. self.amount = response['amount']
  72. if 'fund_status' in response:
  73. self.fund_status = response['fund_status']
  74. if 'fund_type' in response:
  75. self.fund_type = response['fund_type']
  76. if 'out_fund_no' in response:
  77. self.out_fund_no = response['out_fund_no']
  78. if 'pay_time' in response:
  79. self.pay_time = response['pay_time']
  80. if 'zm_order_id' in response:
  81. self.zm_order_id = response['zm_order_id']