AlipayMarketingCampaignPrizeAmountQueryResponse.py 793 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 AlipayMarketingCampaignPrizeAmountQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayMarketingCampaignPrizeAmountQueryResponse, self).__init__()
  8. self._remain_amount = None
  9. @property
  10. def remain_amount(self):
  11. return self._remain_amount
  12. @remain_amount.setter
  13. def remain_amount(self, value):
  14. self._remain_amount = value
  15. def parse_response_content(self, response_content):
  16. response = super(AlipayMarketingCampaignPrizeAmountQueryResponse, self).parse_response_content(response_content)
  17. if 'remain_amount' in response:
  18. self.remain_amount = response['remain_amount']