AlipayFundTransBatchQuerybatchResponse.py 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. from alipay.aop.api.domain.QueryDetailAopResult import QueryDetailAopResult
  6. class AlipayFundTransBatchQuerybatchResponse(AlipayResponse):
  7. def __init__(self):
  8. super(AlipayFundTransBatchQuerybatchResponse, self).__init__()
  9. self._batch_memo = None
  10. self._batch_no = None
  11. self._batch_status = None
  12. self._batch_type = None
  13. self._create_date = None
  14. self._create_user_id = None
  15. self._detail_list = None
  16. self._ext_param = None
  17. self._pay_amount_single = None
  18. self._pay_amount_total = None
  19. self._real_items_total = None
  20. self._show_items_total = None
  21. self._success_amount_total = None
  22. self._success_items_total = None
  23. self._time_out_value = None
  24. self._token = None
  25. @property
  26. def batch_memo(self):
  27. return self._batch_memo
  28. @batch_memo.setter
  29. def batch_memo(self, value):
  30. self._batch_memo = value
  31. @property
  32. def batch_no(self):
  33. return self._batch_no
  34. @batch_no.setter
  35. def batch_no(self, value):
  36. self._batch_no = value
  37. @property
  38. def batch_status(self):
  39. return self._batch_status
  40. @batch_status.setter
  41. def batch_status(self, value):
  42. self._batch_status = value
  43. @property
  44. def batch_type(self):
  45. return self._batch_type
  46. @batch_type.setter
  47. def batch_type(self, value):
  48. self._batch_type = value
  49. @property
  50. def create_date(self):
  51. return self._create_date
  52. @create_date.setter
  53. def create_date(self, value):
  54. self._create_date = value
  55. @property
  56. def create_user_id(self):
  57. return self._create_user_id
  58. @create_user_id.setter
  59. def create_user_id(self, value):
  60. self._create_user_id = value
  61. @property
  62. def detail_list(self):
  63. return self._detail_list
  64. @detail_list.setter
  65. def detail_list(self, value):
  66. if isinstance(value, QueryDetailAopResult):
  67. self._detail_list = value
  68. else:
  69. self._detail_list = QueryDetailAopResult.from_alipay_dict(value)
  70. @property
  71. def ext_param(self):
  72. return self._ext_param
  73. @ext_param.setter
  74. def ext_param(self, value):
  75. self._ext_param = value
  76. @property
  77. def pay_amount_single(self):
  78. return self._pay_amount_single
  79. @pay_amount_single.setter
  80. def pay_amount_single(self, value):
  81. self._pay_amount_single = value
  82. @property
  83. def pay_amount_total(self):
  84. return self._pay_amount_total
  85. @pay_amount_total.setter
  86. def pay_amount_total(self, value):
  87. self._pay_amount_total = value
  88. @property
  89. def real_items_total(self):
  90. return self._real_items_total
  91. @real_items_total.setter
  92. def real_items_total(self, value):
  93. self._real_items_total = value
  94. @property
  95. def show_items_total(self):
  96. return self._show_items_total
  97. @show_items_total.setter
  98. def show_items_total(self, value):
  99. self._show_items_total = value
  100. @property
  101. def success_amount_total(self):
  102. return self._success_amount_total
  103. @success_amount_total.setter
  104. def success_amount_total(self, value):
  105. self._success_amount_total = value
  106. @property
  107. def success_items_total(self):
  108. return self._success_items_total
  109. @success_items_total.setter
  110. def success_items_total(self, value):
  111. self._success_items_total = value
  112. @property
  113. def time_out_value(self):
  114. return self._time_out_value
  115. @time_out_value.setter
  116. def time_out_value(self, value):
  117. self._time_out_value = value
  118. @property
  119. def token(self):
  120. return self._token
  121. @token.setter
  122. def token(self, value):
  123. self._token = value
  124. def parse_response_content(self, response_content):
  125. response = super(AlipayFundTransBatchQuerybatchResponse, self).parse_response_content(response_content)
  126. if 'batch_memo' in response:
  127. self.batch_memo = response['batch_memo']
  128. if 'batch_no' in response:
  129. self.batch_no = response['batch_no']
  130. if 'batch_status' in response:
  131. self.batch_status = response['batch_status']
  132. if 'batch_type' in response:
  133. self.batch_type = response['batch_type']
  134. if 'create_date' in response:
  135. self.create_date = response['create_date']
  136. if 'create_user_id' in response:
  137. self.create_user_id = response['create_user_id']
  138. if 'detail_list' in response:
  139. self.detail_list = response['detail_list']
  140. if 'ext_param' in response:
  141. self.ext_param = response['ext_param']
  142. if 'pay_amount_single' in response:
  143. self.pay_amount_single = response['pay_amount_single']
  144. if 'pay_amount_total' in response:
  145. self.pay_amount_total = response['pay_amount_total']
  146. if 'real_items_total' in response:
  147. self.real_items_total = response['real_items_total']
  148. if 'show_items_total' in response:
  149. self.show_items_total = response['show_items_total']
  150. if 'success_amount_total' in response:
  151. self.success_amount_total = response['success_amount_total']
  152. if 'success_items_total' in response:
  153. self.success_items_total = response['success_items_total']
  154. if 'time_out_value' in response:
  155. self.time_out_value = response['time_out_value']
  156. if 'token' in response:
  157. self.token = response['token']