AlipayOpenOperationBizfeeAftechCreateandpayResponse.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayOpenOperationBizfeeAftechCreateandpayResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayOpenOperationBizfeeAftechCreateandpayResponse, self).__init__()
  8. self._fee_order_no = None
  9. self._gmt_pay = None
  10. self._result_code = None
  11. self._result_message = None
  12. @property
  13. def fee_order_no(self):
  14. return self._fee_order_no
  15. @fee_order_no.setter
  16. def fee_order_no(self, value):
  17. self._fee_order_no = value
  18. @property
  19. def gmt_pay(self):
  20. return self._gmt_pay
  21. @gmt_pay.setter
  22. def gmt_pay(self, value):
  23. self._gmt_pay = value
  24. @property
  25. def result_code(self):
  26. return self._result_code
  27. @result_code.setter
  28. def result_code(self, value):
  29. self._result_code = value
  30. @property
  31. def result_message(self):
  32. return self._result_message
  33. @result_message.setter
  34. def result_message(self, value):
  35. self._result_message = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipayOpenOperationBizfeeAftechCreateandpayResponse, self).parse_response_content(response_content)
  38. if 'fee_order_no' in response:
  39. self.fee_order_no = response['fee_order_no']
  40. if 'gmt_pay' in response:
  41. self.gmt_pay = response['gmt_pay']
  42. if 'result_code' in response:
  43. self.result_code = response['result_code']
  44. if 'result_message' in response:
  45. self.result_message = response['result_message']