AlipayOverseasRemitBeneficialinfoCertifyResponse.py 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayOverseasRemitBeneficialinfoCertifyResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayOverseasRemitBeneficialinfoCertifyResponse, self).__init__()
  8. self._extend_info = None
  9. self._is_pass = None
  10. @property
  11. def extend_info(self):
  12. return self._extend_info
  13. @extend_info.setter
  14. def extend_info(self, value):
  15. self._extend_info = value
  16. @property
  17. def is_pass(self):
  18. return self._is_pass
  19. @is_pass.setter
  20. def is_pass(self, value):
  21. self._is_pass = value
  22. def parse_response_content(self, response_content):
  23. response = super(AlipayOverseasRemitBeneficialinfoCertifyResponse, self).parse_response_content(response_content)
  24. if 'extend_info' in response:
  25. self.extend_info = response['extend_info']
  26. if 'is_pass' in response:
  27. self.is_pass = response['is_pass']