AntfortuneEquityInstpointSendResponse.py 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AntfortuneEquityInstpointSendResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AntfortuneEquityInstpointSendResponse, self).__init__()
  8. self._point_trans_no = None
  9. self._send_result = None
  10. @property
  11. def point_trans_no(self):
  12. return self._point_trans_no
  13. @point_trans_no.setter
  14. def point_trans_no(self, value):
  15. self._point_trans_no = value
  16. @property
  17. def send_result(self):
  18. return self._send_result
  19. @send_result.setter
  20. def send_result(self, value):
  21. self._send_result = value
  22. def parse_response_content(self, response_content):
  23. response = super(AntfortuneEquityInstpointSendResponse, self).parse_response_content(response_content)
  24. if 'point_trans_no' in response:
  25. self.point_trans_no = response['point_trans_no']
  26. if 'send_result' in response:
  27. self.send_result = response['send_result']