AlipayEbppJfexportBillQueryResponse.py 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayEbppJfexportBillQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEbppJfexportBillQueryResponse, self).__init__()
  8. self._amount = None
  9. self._bill_date = None
  10. self._bill_key = None
  11. self._bill_no = None
  12. self._biz_type = None
  13. self._charge_inst = None
  14. self._extend_field = None
  15. self._merchant_order_no = None
  16. self._owner_name = None
  17. self._status = None
  18. self._sub_biz_type = None
  19. @property
  20. def amount(self):
  21. return self._amount
  22. @amount.setter
  23. def amount(self, value):
  24. self._amount = value
  25. @property
  26. def bill_date(self):
  27. return self._bill_date
  28. @bill_date.setter
  29. def bill_date(self, value):
  30. self._bill_date = value
  31. @property
  32. def bill_key(self):
  33. return self._bill_key
  34. @bill_key.setter
  35. def bill_key(self, value):
  36. self._bill_key = value
  37. @property
  38. def bill_no(self):
  39. return self._bill_no
  40. @bill_no.setter
  41. def bill_no(self, value):
  42. self._bill_no = value
  43. @property
  44. def biz_type(self):
  45. return self._biz_type
  46. @biz_type.setter
  47. def biz_type(self, value):
  48. self._biz_type = value
  49. @property
  50. def charge_inst(self):
  51. return self._charge_inst
  52. @charge_inst.setter
  53. def charge_inst(self, value):
  54. self._charge_inst = value
  55. @property
  56. def extend_field(self):
  57. return self._extend_field
  58. @extend_field.setter
  59. def extend_field(self, value):
  60. self._extend_field = value
  61. @property
  62. def merchant_order_no(self):
  63. return self._merchant_order_no
  64. @merchant_order_no.setter
  65. def merchant_order_no(self, value):
  66. self._merchant_order_no = value
  67. @property
  68. def owner_name(self):
  69. return self._owner_name
  70. @owner_name.setter
  71. def owner_name(self, value):
  72. self._owner_name = value
  73. @property
  74. def status(self):
  75. return self._status
  76. @status.setter
  77. def status(self, value):
  78. self._status = value
  79. @property
  80. def sub_biz_type(self):
  81. return self._sub_biz_type
  82. @sub_biz_type.setter
  83. def sub_biz_type(self, value):
  84. self._sub_biz_type = value
  85. def parse_response_content(self, response_content):
  86. response = super(AlipayEbppJfexportBillQueryResponse, self).parse_response_content(response_content)
  87. if 'amount' in response:
  88. self.amount = response['amount']
  89. if 'bill_date' in response:
  90. self.bill_date = response['bill_date']
  91. if 'bill_key' in response:
  92. self.bill_key = response['bill_key']
  93. if 'bill_no' in response:
  94. self.bill_no = response['bill_no']
  95. if 'biz_type' in response:
  96. self.biz_type = response['biz_type']
  97. if 'charge_inst' in response:
  98. self.charge_inst = response['charge_inst']
  99. if 'extend_field' in response:
  100. self.extend_field = response['extend_field']
  101. if 'merchant_order_no' in response:
  102. self.merchant_order_no = response['merchant_order_no']
  103. if 'owner_name' in response:
  104. self.owner_name = response['owner_name']
  105. if 'status' in response:
  106. self.status = response['status']
  107. if 'sub_biz_type' in response:
  108. self.sub_biz_type = response['sub_biz_type']