AntMerchantExpandContractFacetofaceQueryResponse.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AntMerchantExpandContractFacetofaceQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AntMerchantExpandContractFacetofaceQueryResponse, self).__init__()
  8. self._gmt_create = None
  9. self._order_detail = None
  10. self._order_no = None
  11. self._order_status = None
  12. self._out_biz_no = None
  13. @property
  14. def gmt_create(self):
  15. return self._gmt_create
  16. @gmt_create.setter
  17. def gmt_create(self, value):
  18. self._gmt_create = value
  19. @property
  20. def order_detail(self):
  21. return self._order_detail
  22. @order_detail.setter
  23. def order_detail(self, value):
  24. self._order_detail = value
  25. @property
  26. def order_no(self):
  27. return self._order_no
  28. @order_no.setter
  29. def order_no(self, value):
  30. self._order_no = value
  31. @property
  32. def order_status(self):
  33. return self._order_status
  34. @order_status.setter
  35. def order_status(self, value):
  36. self._order_status = value
  37. @property
  38. def out_biz_no(self):
  39. return self._out_biz_no
  40. @out_biz_no.setter
  41. def out_biz_no(self, value):
  42. self._out_biz_no = value
  43. def parse_response_content(self, response_content):
  44. response = super(AntMerchantExpandContractFacetofaceQueryResponse, self).parse_response_content(response_content)
  45. if 'gmt_create' in response:
  46. self.gmt_create = response['gmt_create']
  47. if 'order_detail' in response:
  48. self.order_detail = response['order_detail']
  49. if 'order_no' in response:
  50. self.order_no = response['order_no']
  51. if 'order_status' in response:
  52. self.order_status = response['order_status']
  53. if 'out_biz_no' in response:
  54. self.out_biz_no = response['out_biz_no']