MybankPaymentTradeNormalpayOrderQueryResponse.py 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class MybankPaymentTradeNormalpayOrderQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(MybankPaymentTradeNormalpayOrderQueryResponse, self).__init__()
  8. self._amount = None
  9. self._biz_channel = None
  10. self._biz_no = None
  11. self._currency_value = None
  12. self._ext_info = None
  13. self._order_type = None
  14. self._pay_amount = None
  15. self._paying_amount = None
  16. self._receipt_amount = None
  17. self._receipting_amount = None
  18. self._request_accept_time = None
  19. self._request_no = None
  20. @property
  21. def amount(self):
  22. return self._amount
  23. @amount.setter
  24. def amount(self, value):
  25. self._amount = value
  26. @property
  27. def biz_channel(self):
  28. return self._biz_channel
  29. @biz_channel.setter
  30. def biz_channel(self, value):
  31. self._biz_channel = value
  32. @property
  33. def biz_no(self):
  34. return self._biz_no
  35. @biz_no.setter
  36. def biz_no(self, value):
  37. self._biz_no = value
  38. @property
  39. def currency_value(self):
  40. return self._currency_value
  41. @currency_value.setter
  42. def currency_value(self, value):
  43. self._currency_value = value
  44. @property
  45. def ext_info(self):
  46. return self._ext_info
  47. @ext_info.setter
  48. def ext_info(self, value):
  49. self._ext_info = value
  50. @property
  51. def order_type(self):
  52. return self._order_type
  53. @order_type.setter
  54. def order_type(self, value):
  55. self._order_type = value
  56. @property
  57. def pay_amount(self):
  58. return self._pay_amount
  59. @pay_amount.setter
  60. def pay_amount(self, value):
  61. self._pay_amount = value
  62. @property
  63. def paying_amount(self):
  64. return self._paying_amount
  65. @paying_amount.setter
  66. def paying_amount(self, value):
  67. self._paying_amount = value
  68. @property
  69. def receipt_amount(self):
  70. return self._receipt_amount
  71. @receipt_amount.setter
  72. def receipt_amount(self, value):
  73. self._receipt_amount = value
  74. @property
  75. def receipting_amount(self):
  76. return self._receipting_amount
  77. @receipting_amount.setter
  78. def receipting_amount(self, value):
  79. self._receipting_amount = value
  80. @property
  81. def request_accept_time(self):
  82. return self._request_accept_time
  83. @request_accept_time.setter
  84. def request_accept_time(self, value):
  85. self._request_accept_time = value
  86. @property
  87. def request_no(self):
  88. return self._request_no
  89. @request_no.setter
  90. def request_no(self, value):
  91. self._request_no = value
  92. def parse_response_content(self, response_content):
  93. response = super(MybankPaymentTradeNormalpayOrderQueryResponse, self).parse_response_content(response_content)
  94. if 'amount' in response:
  95. self.amount = response['amount']
  96. if 'biz_channel' in response:
  97. self.biz_channel = response['biz_channel']
  98. if 'biz_no' in response:
  99. self.biz_no = response['biz_no']
  100. if 'currency_value' in response:
  101. self.currency_value = response['currency_value']
  102. if 'ext_info' in response:
  103. self.ext_info = response['ext_info']
  104. if 'order_type' in response:
  105. self.order_type = response['order_type']
  106. if 'pay_amount' in response:
  107. self.pay_amount = response['pay_amount']
  108. if 'paying_amount' in response:
  109. self.paying_amount = response['paying_amount']
  110. if 'receipt_amount' in response:
  111. self.receipt_amount = response['receipt_amount']
  112. if 'receipting_amount' in response:
  113. self.receipting_amount = response['receipting_amount']
  114. if 'request_accept_time' in response:
  115. self.request_accept_time = response['request_accept_time']
  116. if 'request_no' in response:
  117. self.request_no = response['request_no']