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