AlipayEbppBillRefundResponse.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 AlipayEbppBillRefundResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEbppBillRefundResponse, self).__init__()
  8. self._alipay_bill_no = None
  9. self._extend_field = None
  10. self._out_order_no = None
  11. self._result = None
  12. @property
  13. def alipay_bill_no(self):
  14. return self._alipay_bill_no
  15. @alipay_bill_no.setter
  16. def alipay_bill_no(self, value):
  17. self._alipay_bill_no = value
  18. @property
  19. def extend_field(self):
  20. return self._extend_field
  21. @extend_field.setter
  22. def extend_field(self, value):
  23. self._extend_field = value
  24. @property
  25. def out_order_no(self):
  26. return self._out_order_no
  27. @out_order_no.setter
  28. def out_order_no(self, value):
  29. self._out_order_no = value
  30. @property
  31. def result(self):
  32. return self._result
  33. @result.setter
  34. def result(self, value):
  35. self._result = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipayEbppBillRefundResponse, self).parse_response_content(response_content)
  38. if 'alipay_bill_no' in response:
  39. self.alipay_bill_no = response['alipay_bill_no']
  40. if 'extend_field' in response:
  41. self.extend_field = response['extend_field']
  42. if 'out_order_no' in response:
  43. self.out_order_no = response['out_order_no']
  44. if 'result' in response:
  45. self.result = response['result']