AlipayUserBillSimpleQueryResponse.py 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayUserBillSimpleQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayUserBillSimpleQueryResponse, self).__init__()
  8. self._amount = None
  9. self._biz_state = None
  10. self._gmt_biz_create = None
  11. self._in_out_type = None
  12. @property
  13. def amount(self):
  14. return self._amount
  15. @amount.setter
  16. def amount(self, value):
  17. self._amount = value
  18. @property
  19. def biz_state(self):
  20. return self._biz_state
  21. @biz_state.setter
  22. def biz_state(self, value):
  23. self._biz_state = value
  24. @property
  25. def gmt_biz_create(self):
  26. return self._gmt_biz_create
  27. @gmt_biz_create.setter
  28. def gmt_biz_create(self, value):
  29. self._gmt_biz_create = value
  30. @property
  31. def in_out_type(self):
  32. return self._in_out_type
  33. @in_out_type.setter
  34. def in_out_type(self, value):
  35. self._in_out_type = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipayUserBillSimpleQueryResponse, self).parse_response_content(response_content)
  38. if 'amount' in response:
  39. self.amount = response['amount']
  40. if 'biz_state' in response:
  41. self.biz_state = response['biz_state']
  42. if 'gmt_biz_create' in response:
  43. self.gmt_biz_create = response['gmt_biz_create']
  44. if 'in_out_type' in response:
  45. self.in_out_type = response['in_out_type']