AlipayOverseasTaxOrderQueryResponse.py 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayOverseasTaxOrderQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayOverseasTaxOrderQueryResponse, self).__init__()
  8. self._identify_account_no = None
  9. self._identify_account_type = None
  10. self._out_order_no = None
  11. self._status = None
  12. self._success_time = None
  13. self._tax_no = None
  14. @property
  15. def identify_account_no(self):
  16. return self._identify_account_no
  17. @identify_account_no.setter
  18. def identify_account_no(self, value):
  19. self._identify_account_no = value
  20. @property
  21. def identify_account_type(self):
  22. return self._identify_account_type
  23. @identify_account_type.setter
  24. def identify_account_type(self, value):
  25. self._identify_account_type = value
  26. @property
  27. def out_order_no(self):
  28. return self._out_order_no
  29. @out_order_no.setter
  30. def out_order_no(self, value):
  31. self._out_order_no = value
  32. @property
  33. def status(self):
  34. return self._status
  35. @status.setter
  36. def status(self, value):
  37. self._status = value
  38. @property
  39. def success_time(self):
  40. return self._success_time
  41. @success_time.setter
  42. def success_time(self, value):
  43. self._success_time = value
  44. @property
  45. def tax_no(self):
  46. return self._tax_no
  47. @tax_no.setter
  48. def tax_no(self, value):
  49. self._tax_no = value
  50. def parse_response_content(self, response_content):
  51. response = super(AlipayOverseasTaxOrderQueryResponse, self).parse_response_content(response_content)
  52. if 'identify_account_no' in response:
  53. self.identify_account_no = response['identify_account_no']
  54. if 'identify_account_type' in response:
  55. self.identify_account_type = response['identify_account_type']
  56. if 'out_order_no' in response:
  57. self.out_order_no = response['out_order_no']
  58. if 'status' in response:
  59. self.status = response['status']
  60. if 'success_time' in response:
  61. self.success_time = response['success_time']
  62. if 'tax_no' in response:
  63. self.tax_no = response['tax_no']