AlipayEbppJfexportBillCreateResponse.py 3.2 KB

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