AlipayMicropayOrderFreezepayurlGetResponse.py 787 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayMicropayOrderFreezepayurlGetResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayMicropayOrderFreezepayurlGetResponse, self).__init__()
  8. self._pay_freeze_url = None
  9. @property
  10. def pay_freeze_url(self):
  11. return self._pay_freeze_url
  12. @pay_freeze_url.setter
  13. def pay_freeze_url(self, value):
  14. self._pay_freeze_url = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipayMicropayOrderFreezepayurlGetResponse, self).parse_response_content(response_content)
  17. if 'pay_freeze_url' in response:
  18. self.pay_freeze_url = response['pay_freeze_url']