12345678910111213141516171819202122232425 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- class AlipayUserAgreementAuthApplyResponse(AlipayResponse):
- def __init__(self):
- super(AlipayUserAgreementAuthApplyResponse, self).__init__()
- self._apply_token = None
- @property
- def apply_token(self):
- return self._apply_token
- @apply_token.setter
- def apply_token(self, value):
- self._apply_token = value
- def parse_response_content(self, response_content):
- response = super(AlipayUserAgreementAuthApplyResponse, self).parse_response_content(response_content)
- if 'apply_token' in response:
- self.apply_token = response['apply_token']
|