AlipayFundCouponOperationQueryResponse.py 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayFundCouponOperationQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayFundCouponOperationQueryResponse, self).__init__()
  8. self._amount = None
  9. self._auth_no = None
  10. self._extra_param = None
  11. self._gmt_create = None
  12. self._gmt_trans = None
  13. self._operation_id = None
  14. self._operation_type = None
  15. self._order_title = None
  16. self._out_order_no = None
  17. self._out_request_no = None
  18. self._payee_logon_id = None
  19. self._payee_user_id = None
  20. self._payer_logon_id = None
  21. self._payer_user_id = None
  22. self._remark = None
  23. self._status = None
  24. self._total_pay_refund_amount = None
  25. @property
  26. def amount(self):
  27. return self._amount
  28. @amount.setter
  29. def amount(self, value):
  30. self._amount = value
  31. @property
  32. def auth_no(self):
  33. return self._auth_no
  34. @auth_no.setter
  35. def auth_no(self, value):
  36. self._auth_no = value
  37. @property
  38. def extra_param(self):
  39. return self._extra_param
  40. @extra_param.setter
  41. def extra_param(self, value):
  42. self._extra_param = value
  43. @property
  44. def gmt_create(self):
  45. return self._gmt_create
  46. @gmt_create.setter
  47. def gmt_create(self, value):
  48. self._gmt_create = value
  49. @property
  50. def gmt_trans(self):
  51. return self._gmt_trans
  52. @gmt_trans.setter
  53. def gmt_trans(self, value):
  54. self._gmt_trans = value
  55. @property
  56. def operation_id(self):
  57. return self._operation_id
  58. @operation_id.setter
  59. def operation_id(self, value):
  60. self._operation_id = value
  61. @property
  62. def operation_type(self):
  63. return self._operation_type
  64. @operation_type.setter
  65. def operation_type(self, value):
  66. self._operation_type = value
  67. @property
  68. def order_title(self):
  69. return self._order_title
  70. @order_title.setter
  71. def order_title(self, value):
  72. self._order_title = value
  73. @property
  74. def out_order_no(self):
  75. return self._out_order_no
  76. @out_order_no.setter
  77. def out_order_no(self, value):
  78. self._out_order_no = value
  79. @property
  80. def out_request_no(self):
  81. return self._out_request_no
  82. @out_request_no.setter
  83. def out_request_no(self, value):
  84. self._out_request_no = value
  85. @property
  86. def payee_logon_id(self):
  87. return self._payee_logon_id
  88. @payee_logon_id.setter
  89. def payee_logon_id(self, value):
  90. self._payee_logon_id = value
  91. @property
  92. def payee_user_id(self):
  93. return self._payee_user_id
  94. @payee_user_id.setter
  95. def payee_user_id(self, value):
  96. self._payee_user_id = value
  97. @property
  98. def payer_logon_id(self):
  99. return self._payer_logon_id
  100. @payer_logon_id.setter
  101. def payer_logon_id(self, value):
  102. self._payer_logon_id = value
  103. @property
  104. def payer_user_id(self):
  105. return self._payer_user_id
  106. @payer_user_id.setter
  107. def payer_user_id(self, value):
  108. self._payer_user_id = value
  109. @property
  110. def remark(self):
  111. return self._remark
  112. @remark.setter
  113. def remark(self, value):
  114. self._remark = value
  115. @property
  116. def status(self):
  117. return self._status
  118. @status.setter
  119. def status(self, value):
  120. self._status = value
  121. @property
  122. def total_pay_refund_amount(self):
  123. return self._total_pay_refund_amount
  124. @total_pay_refund_amount.setter
  125. def total_pay_refund_amount(self, value):
  126. self._total_pay_refund_amount = value
  127. def parse_response_content(self, response_content):
  128. response = super(AlipayFundCouponOperationQueryResponse, self).parse_response_content(response_content)
  129. if 'amount' in response:
  130. self.amount = response['amount']
  131. if 'auth_no' in response:
  132. self.auth_no = response['auth_no']
  133. if 'extra_param' in response:
  134. self.extra_param = response['extra_param']
  135. if 'gmt_create' in response:
  136. self.gmt_create = response['gmt_create']
  137. if 'gmt_trans' in response:
  138. self.gmt_trans = response['gmt_trans']
  139. if 'operation_id' in response:
  140. self.operation_id = response['operation_id']
  141. if 'operation_type' in response:
  142. self.operation_type = response['operation_type']
  143. if 'order_title' in response:
  144. self.order_title = response['order_title']
  145. if 'out_order_no' in response:
  146. self.out_order_no = response['out_order_no']
  147. if 'out_request_no' in response:
  148. self.out_request_no = response['out_request_no']
  149. if 'payee_logon_id' in response:
  150. self.payee_logon_id = response['payee_logon_id']
  151. if 'payee_user_id' in response:
  152. self.payee_user_id = response['payee_user_id']
  153. if 'payer_logon_id' in response:
  154. self.payer_logon_id = response['payer_logon_id']
  155. if 'payer_user_id' in response:
  156. self.payer_user_id = response['payer_user_id']
  157. if 'remark' in response:
  158. self.remark = response['remark']
  159. if 'status' in response:
  160. self.status = response['status']
  161. if 'total_pay_refund_amount' in response:
  162. self.total_pay_refund_amount = response['total_pay_refund_amount']