AlipayEcoRenthouseBillOrderSyncResponse.py 914 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayEcoRenthouseBillOrderSyncResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoRenthouseBillOrderSyncResponse, self).__init__()
  8. self._result_bill_list = None
  9. @property
  10. def result_bill_list(self):
  11. return self._result_bill_list
  12. @result_bill_list.setter
  13. def result_bill_list(self, value):
  14. if isinstance(value, list):
  15. self._result_bill_list = list()
  16. for i in value:
  17. self._result_bill_list.append(i)
  18. def parse_response_content(self, response_content):
  19. response = super(AlipayEcoRenthouseBillOrderSyncResponse, self).parse_response_content(response_content)
  20. if 'result_bill_list' in response:
  21. self.result_bill_list = response['result_bill_list']