AlipayEbppPdeductSignQueryResponse.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayEbppPdeductSignQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEbppPdeductSignQueryResponse, self).__init__()
  8. self._agreement_id = None
  9. self._bill_key = None
  10. self._charge_inst = None
  11. self._out_agreement_id = None
  12. self._sign_date = None
  13. self._user_id = None
  14. @property
  15. def agreement_id(self):
  16. return self._agreement_id
  17. @agreement_id.setter
  18. def agreement_id(self, value):
  19. self._agreement_id = value
  20. @property
  21. def bill_key(self):
  22. return self._bill_key
  23. @bill_key.setter
  24. def bill_key(self, value):
  25. self._bill_key = value
  26. @property
  27. def charge_inst(self):
  28. return self._charge_inst
  29. @charge_inst.setter
  30. def charge_inst(self, value):
  31. self._charge_inst = value
  32. @property
  33. def out_agreement_id(self):
  34. return self._out_agreement_id
  35. @out_agreement_id.setter
  36. def out_agreement_id(self, value):
  37. self._out_agreement_id = value
  38. @property
  39. def sign_date(self):
  40. return self._sign_date
  41. @sign_date.setter
  42. def sign_date(self, value):
  43. self._sign_date = value
  44. @property
  45. def user_id(self):
  46. return self._user_id
  47. @user_id.setter
  48. def user_id(self, value):
  49. self._user_id = value
  50. def parse_response_content(self, response_content):
  51. response = super(AlipayEbppPdeductSignQueryResponse, self).parse_response_content(response_content)
  52. if 'agreement_id' in response:
  53. self.agreement_id = response['agreement_id']
  54. if 'bill_key' in response:
  55. self.bill_key = response['bill_key']
  56. if 'charge_inst' in response:
  57. self.charge_inst = response['charge_inst']
  58. if 'out_agreement_id' in response:
  59. self.out_agreement_id = response['out_agreement_id']
  60. if 'sign_date' in response:
  61. self.sign_date = response['sign_date']
  62. if 'user_id' in response:
  63. self.user_id = response['user_id']