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