AlipayCommerceMedicalInformationUploadResponse.py 1.1 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 AlipayCommerceMedicalInformationUploadResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayCommerceMedicalInformationUploadResponse, self).__init__()
  8. self._gmt_payment = None
  9. self._response_content = None
  10. @property
  11. def gmt_payment(self):
  12. return self._gmt_payment
  13. @gmt_payment.setter
  14. def gmt_payment(self, value):
  15. self._gmt_payment = value
  16. @property
  17. def response_content(self):
  18. return self._response_content
  19. @response_content.setter
  20. def response_content(self, value):
  21. self._response_content = value
  22. def parse_response_content(self, response_content):
  23. response = super(AlipayCommerceMedicalInformationUploadResponse, self).parse_response_content(response_content)
  24. if 'gmt_payment' in response:
  25. self.gmt_payment = response['gmt_payment']
  26. if 'response_content' in response:
  27. self.response_content = response['response_content']