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