AlipayPayCodecAcodeDecodeUseResponse.py 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayPayCodecAcodeDecodeUseResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayPayCodecAcodeDecodeUseResponse, self).__init__()
  8. self._biz_id = None
  9. self._biz_inst_code = None
  10. self._business_info = None
  11. self._create_time = None
  12. self._encode_inst_code = None
  13. self._expire_time = None
  14. self._pay_account = None
  15. self._pay_account_auth_expire = None
  16. self._pay_amount_limit = None
  17. @property
  18. def biz_id(self):
  19. return self._biz_id
  20. @biz_id.setter
  21. def biz_id(self, value):
  22. self._biz_id = value
  23. @property
  24. def biz_inst_code(self):
  25. return self._biz_inst_code
  26. @biz_inst_code.setter
  27. def biz_inst_code(self, value):
  28. self._biz_inst_code = value
  29. @property
  30. def business_info(self):
  31. return self._business_info
  32. @business_info.setter
  33. def business_info(self, value):
  34. self._business_info = value
  35. @property
  36. def create_time(self):
  37. return self._create_time
  38. @create_time.setter
  39. def create_time(self, value):
  40. self._create_time = value
  41. @property
  42. def encode_inst_code(self):
  43. return self._encode_inst_code
  44. @encode_inst_code.setter
  45. def encode_inst_code(self, value):
  46. self._encode_inst_code = value
  47. @property
  48. def expire_time(self):
  49. return self._expire_time
  50. @expire_time.setter
  51. def expire_time(self, value):
  52. self._expire_time = value
  53. @property
  54. def pay_account(self):
  55. return self._pay_account
  56. @pay_account.setter
  57. def pay_account(self, value):
  58. self._pay_account = value
  59. @property
  60. def pay_account_auth_expire(self):
  61. return self._pay_account_auth_expire
  62. @pay_account_auth_expire.setter
  63. def pay_account_auth_expire(self, value):
  64. self._pay_account_auth_expire = value
  65. @property
  66. def pay_amount_limit(self):
  67. return self._pay_amount_limit
  68. @pay_amount_limit.setter
  69. def pay_amount_limit(self, value):
  70. self._pay_amount_limit = value
  71. def parse_response_content(self, response_content):
  72. response = super(AlipayPayCodecAcodeDecodeUseResponse, self).parse_response_content(response_content)
  73. if 'biz_id' in response:
  74. self.biz_id = response['biz_id']
  75. if 'biz_inst_code' in response:
  76. self.biz_inst_code = response['biz_inst_code']
  77. if 'business_info' in response:
  78. self.business_info = response['business_info']
  79. if 'create_time' in response:
  80. self.create_time = response['create_time']
  81. if 'encode_inst_code' in response:
  82. self.encode_inst_code = response['encode_inst_code']
  83. if 'expire_time' in response:
  84. self.expire_time = response['expire_time']
  85. if 'pay_account' in response:
  86. self.pay_account = response['pay_account']
  87. if 'pay_account_auth_expire' in response:
  88. self.pay_account_auth_expire = response['pay_account_auth_expire']
  89. if 'pay_amount_limit' in response:
  90. self.pay_amount_limit = response['pay_amount_limit']