AlipayEcoRenthouseKaBaseinfoSyncResponse.py 718 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayEcoRenthouseKaBaseinfoSyncResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoRenthouseKaBaseinfoSyncResponse, self).__init__()
  8. self._ka_code = None
  9. @property
  10. def ka_code(self):
  11. return self._ka_code
  12. @ka_code.setter
  13. def ka_code(self, value):
  14. self._ka_code = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipayEcoRenthouseKaBaseinfoSyncResponse, self).parse_response_content(response_content)
  17. if 'ka_code' in response:
  18. self.ka_code = response['ka_code']