MybankCreditLoanapplyApplyCreateResponse.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class MybankCreditLoanapplyApplyCreateResponse(AlipayResponse):
  6. def __init__(self):
  7. super(MybankCreditLoanapplyApplyCreateResponse, self).__init__()
  8. self._apply_no = None
  9. self._ip_role_id = None
  10. self._sub_apply_no = None
  11. @property
  12. def apply_no(self):
  13. return self._apply_no
  14. @apply_no.setter
  15. def apply_no(self, value):
  16. self._apply_no = value
  17. @property
  18. def ip_role_id(self):
  19. return self._ip_role_id
  20. @ip_role_id.setter
  21. def ip_role_id(self, value):
  22. self._ip_role_id = value
  23. @property
  24. def sub_apply_no(self):
  25. return self._sub_apply_no
  26. @sub_apply_no.setter
  27. def sub_apply_no(self, value):
  28. self._sub_apply_no = value
  29. def parse_response_content(self, response_content):
  30. response = super(MybankCreditLoanapplyApplyCreateResponse, self).parse_response_content(response_content)
  31. if 'apply_no' in response:
  32. self.apply_no = response['apply_no']
  33. if 'ip_role_id' in response:
  34. self.ip_role_id = response['ip_role_id']
  35. if 'sub_apply_no' in response:
  36. self.sub_apply_no = response['sub_apply_no']