AlipayFundTransAacollectBatchQueryResponse.py 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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.BatchDetailInfo import BatchDetailInfo
  6. from alipay.aop.api.domain.BatchDetailInfo import BatchDetailInfo
  7. from alipay.aop.api.domain.BatchDetailInfo import BatchDetailInfo
  8. class AlipayFundTransAacollectBatchQueryResponse(AlipayResponse):
  9. def __init__(self):
  10. super(AlipayFundTransAacollectBatchQueryResponse, self).__init__()
  11. self._batch_memo = None
  12. self._batch_no = None
  13. self._batch_status = None
  14. self._biz_type = None
  15. self._create_date = None
  16. self._creater_user_id = None
  17. self._detail_list = None
  18. self._ext_param = None
  19. self._paid_detail_list = None
  20. self._pay_amount_single = None
  21. self._pay_amount_total = None
  22. self._pay_amount_total_for_receiver = None
  23. self._real_items_total = None
  24. self._show_items_total = None
  25. self._success_amount_total = None
  26. self._time_out_value = None
  27. self._unpaid_detail_list = None
  28. @property
  29. def batch_memo(self):
  30. return self._batch_memo
  31. @batch_memo.setter
  32. def batch_memo(self, value):
  33. self._batch_memo = value
  34. @property
  35. def batch_no(self):
  36. return self._batch_no
  37. @batch_no.setter
  38. def batch_no(self, value):
  39. self._batch_no = value
  40. @property
  41. def batch_status(self):
  42. return self._batch_status
  43. @batch_status.setter
  44. def batch_status(self, value):
  45. self._batch_status = value
  46. @property
  47. def biz_type(self):
  48. return self._biz_type
  49. @biz_type.setter
  50. def biz_type(self, value):
  51. self._biz_type = value
  52. @property
  53. def create_date(self):
  54. return self._create_date
  55. @create_date.setter
  56. def create_date(self, value):
  57. self._create_date = value
  58. @property
  59. def creater_user_id(self):
  60. return self._creater_user_id
  61. @creater_user_id.setter
  62. def creater_user_id(self, value):
  63. self._creater_user_id = value
  64. @property
  65. def detail_list(self):
  66. return self._detail_list
  67. @detail_list.setter
  68. def detail_list(self, value):
  69. if isinstance(value, list):
  70. self._detail_list = list()
  71. for i in value:
  72. if isinstance(i, BatchDetailInfo):
  73. self._detail_list.append(i)
  74. else:
  75. self._detail_list.append(BatchDetailInfo.from_alipay_dict(i))
  76. @property
  77. def ext_param(self):
  78. return self._ext_param
  79. @ext_param.setter
  80. def ext_param(self, value):
  81. self._ext_param = value
  82. @property
  83. def paid_detail_list(self):
  84. return self._paid_detail_list
  85. @paid_detail_list.setter
  86. def paid_detail_list(self, value):
  87. if isinstance(value, list):
  88. self._paid_detail_list = list()
  89. for i in value:
  90. if isinstance(i, BatchDetailInfo):
  91. self._paid_detail_list.append(i)
  92. else:
  93. self._paid_detail_list.append(BatchDetailInfo.from_alipay_dict(i))
  94. @property
  95. def pay_amount_single(self):
  96. return self._pay_amount_single
  97. @pay_amount_single.setter
  98. def pay_amount_single(self, value):
  99. self._pay_amount_single = value
  100. @property
  101. def pay_amount_total(self):
  102. return self._pay_amount_total
  103. @pay_amount_total.setter
  104. def pay_amount_total(self, value):
  105. self._pay_amount_total = value
  106. @property
  107. def pay_amount_total_for_receiver(self):
  108. return self._pay_amount_total_for_receiver
  109. @pay_amount_total_for_receiver.setter
  110. def pay_amount_total_for_receiver(self, value):
  111. self._pay_amount_total_for_receiver = value
  112. @property
  113. def real_items_total(self):
  114. return self._real_items_total
  115. @real_items_total.setter
  116. def real_items_total(self, value):
  117. self._real_items_total = value
  118. @property
  119. def show_items_total(self):
  120. return self._show_items_total
  121. @show_items_total.setter
  122. def show_items_total(self, value):
  123. self._show_items_total = value
  124. @property
  125. def success_amount_total(self):
  126. return self._success_amount_total
  127. @success_amount_total.setter
  128. def success_amount_total(self, value):
  129. self._success_amount_total = value
  130. @property
  131. def time_out_value(self):
  132. return self._time_out_value
  133. @time_out_value.setter
  134. def time_out_value(self, value):
  135. self._time_out_value = value
  136. @property
  137. def unpaid_detail_list(self):
  138. return self._unpaid_detail_list
  139. @unpaid_detail_list.setter
  140. def unpaid_detail_list(self, value):
  141. if isinstance(value, list):
  142. self._unpaid_detail_list = list()
  143. for i in value:
  144. if isinstance(i, BatchDetailInfo):
  145. self._unpaid_detail_list.append(i)
  146. else:
  147. self._unpaid_detail_list.append(BatchDetailInfo.from_alipay_dict(i))
  148. def parse_response_content(self, response_content):
  149. response = super(AlipayFundTransAacollectBatchQueryResponse, self).parse_response_content(response_content)
  150. if 'batch_memo' in response:
  151. self.batch_memo = response['batch_memo']
  152. if 'batch_no' in response:
  153. self.batch_no = response['batch_no']
  154. if 'batch_status' in response:
  155. self.batch_status = response['batch_status']
  156. if 'biz_type' in response:
  157. self.biz_type = response['biz_type']
  158. if 'create_date' in response:
  159. self.create_date = response['create_date']
  160. if 'creater_user_id' in response:
  161. self.creater_user_id = response['creater_user_id']
  162. if 'detail_list' in response:
  163. self.detail_list = response['detail_list']
  164. if 'ext_param' in response:
  165. self.ext_param = response['ext_param']
  166. if 'paid_detail_list' in response:
  167. self.paid_detail_list = response['paid_detail_list']
  168. if 'pay_amount_single' in response:
  169. self.pay_amount_single = response['pay_amount_single']
  170. if 'pay_amount_total' in response:
  171. self.pay_amount_total = response['pay_amount_total']
  172. if 'pay_amount_total_for_receiver' in response:
  173. self.pay_amount_total_for_receiver = response['pay_amount_total_for_receiver']
  174. if 'real_items_total' in response:
  175. self.real_items_total = response['real_items_total']
  176. if 'show_items_total' in response:
  177. self.show_items_total = response['show_items_total']
  178. if 'success_amount_total' in response:
  179. self.success_amount_total = response['success_amount_total']
  180. if 'time_out_value' in response:
  181. self.time_out_value = response['time_out_value']
  182. if 'unpaid_detail_list' in response:
  183. self.unpaid_detail_list = response['unpaid_detail_list']