AlipayEcoEprintTokenGetResponse.py 736 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 AlipayEcoEprintTokenGetResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoEprintTokenGetResponse, self).__init__()
  8. self._eprint_token = None
  9. @property
  10. def eprint_token(self):
  11. return self._eprint_token
  12. @eprint_token.setter
  13. def eprint_token(self, value):
  14. self._eprint_token = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipayEcoEprintTokenGetResponse, self).parse_response_content(response_content)
  17. if 'eprint_token' in response:
  18. self.eprint_token = response['eprint_token']