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