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