AlipayOpenMiniBaseinfoAmapQueryResponse.py 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayOpenMiniBaseinfoAmapQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayOpenMiniBaseinfoAmapQueryResponse, self).__init__()
  8. self._account_type = None
  9. self._app_desc = None
  10. self._app_english_name = None
  11. self._app_logo = None
  12. self._app_name = None
  13. self._app_slogan = None
  14. self._area = None
  15. self._business_license_no = None
  16. self._business_name = None
  17. self._category_names = None
  18. self._contact_email = None
  19. self._contact_mobile = None
  20. self._contact_name = None
  21. self._pid = None
  22. self._service_email = None
  23. self._service_phone = None
  24. @property
  25. def account_type(self):
  26. return self._account_type
  27. @account_type.setter
  28. def account_type(self, value):
  29. self._account_type = value
  30. @property
  31. def app_desc(self):
  32. return self._app_desc
  33. @app_desc.setter
  34. def app_desc(self, value):
  35. self._app_desc = value
  36. @property
  37. def app_english_name(self):
  38. return self._app_english_name
  39. @app_english_name.setter
  40. def app_english_name(self, value):
  41. self._app_english_name = value
  42. @property
  43. def app_logo(self):
  44. return self._app_logo
  45. @app_logo.setter
  46. def app_logo(self, value):
  47. self._app_logo = value
  48. @property
  49. def app_name(self):
  50. return self._app_name
  51. @app_name.setter
  52. def app_name(self, value):
  53. self._app_name = value
  54. @property
  55. def app_slogan(self):
  56. return self._app_slogan
  57. @app_slogan.setter
  58. def app_slogan(self, value):
  59. self._app_slogan = value
  60. @property
  61. def area(self):
  62. return self._area
  63. @area.setter
  64. def area(self, value):
  65. self._area = value
  66. @property
  67. def business_license_no(self):
  68. return self._business_license_no
  69. @business_license_no.setter
  70. def business_license_no(self, value):
  71. self._business_license_no = value
  72. @property
  73. def business_name(self):
  74. return self._business_name
  75. @business_name.setter
  76. def business_name(self, value):
  77. self._business_name = value
  78. @property
  79. def category_names(self):
  80. return self._category_names
  81. @category_names.setter
  82. def category_names(self, value):
  83. self._category_names = value
  84. @property
  85. def contact_email(self):
  86. return self._contact_email
  87. @contact_email.setter
  88. def contact_email(self, value):
  89. self._contact_email = value
  90. @property
  91. def contact_mobile(self):
  92. return self._contact_mobile
  93. @contact_mobile.setter
  94. def contact_mobile(self, value):
  95. self._contact_mobile = value
  96. @property
  97. def contact_name(self):
  98. return self._contact_name
  99. @contact_name.setter
  100. def contact_name(self, value):
  101. self._contact_name = value
  102. @property
  103. def pid(self):
  104. return self._pid
  105. @pid.setter
  106. def pid(self, value):
  107. self._pid = value
  108. @property
  109. def service_email(self):
  110. return self._service_email
  111. @service_email.setter
  112. def service_email(self, value):
  113. self._service_email = value
  114. @property
  115. def service_phone(self):
  116. return self._service_phone
  117. @service_phone.setter
  118. def service_phone(self, value):
  119. self._service_phone = value
  120. def parse_response_content(self, response_content):
  121. response = super(AlipayOpenMiniBaseinfoAmapQueryResponse, self).parse_response_content(response_content)
  122. if 'account_type' in response:
  123. self.account_type = response['account_type']
  124. if 'app_desc' in response:
  125. self.app_desc = response['app_desc']
  126. if 'app_english_name' in response:
  127. self.app_english_name = response['app_english_name']
  128. if 'app_logo' in response:
  129. self.app_logo = response['app_logo']
  130. if 'app_name' in response:
  131. self.app_name = response['app_name']
  132. if 'app_slogan' in response:
  133. self.app_slogan = response['app_slogan']
  134. if 'area' in response:
  135. self.area = response['area']
  136. if 'business_license_no' in response:
  137. self.business_license_no = response['business_license_no']
  138. if 'business_name' in response:
  139. self.business_name = response['business_name']
  140. if 'category_names' in response:
  141. self.category_names = response['category_names']
  142. if 'contact_email' in response:
  143. self.contact_email = response['contact_email']
  144. if 'contact_mobile' in response:
  145. self.contact_mobile = response['contact_mobile']
  146. if 'contact_name' in response:
  147. self.contact_name = response['contact_name']
  148. if 'pid' in response:
  149. self.pid = response['pid']
  150. if 'service_email' in response:
  151. self.service_email = response['service_email']
  152. if 'service_phone' in response:
  153. self.service_phone = response['service_phone']