ScanCodeNotificationRequest.py 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. #
  13. # Unless required by applicable law or agreed to in writing,
  14. # software distributed under the License is distributed on an
  15. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. # KIND, either express or implied. See the License for the
  17. # specific language governing permissions and limitations
  18. # under the License.
  19. from aliyunsdkcore.request import RpcRequest
  20. from aliyunsdkunimkt.endpoint import endpoint_data
  21. class ScanCodeNotificationRequest(RpcRequest):
  22. def __init__(self):
  23. RpcRequest.__init__(self, 'UniMkt', '2018-12-12', 'ScanCodeNotification','uniMkt')
  24. self.set_protocol_type('https')
  25. self.set_method('POST')
  26. if hasattr(self, "endpoint_map"):
  27. setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
  28. if hasattr(self, "endpoint_regional"):
  29. setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
  30. def get_RealCostAmount(self):
  31. return self.get_query_params().get('RealCostAmount')
  32. def set_RealCostAmount(self,RealCostAmount):
  33. self.add_query_param('RealCostAmount',RealCostAmount)
  34. def get_SalePrice(self):
  35. return self.get_query_params().get('SalePrice')
  36. def set_SalePrice(self,SalePrice):
  37. self.add_query_param('SalePrice',SalePrice)
  38. def get_CommodityId(self):
  39. return self.get_query_params().get('CommodityId')
  40. def set_CommodityId(self,CommodityId):
  41. self.add_query_param('CommodityId',CommodityId)
  42. def get_HolderId(self):
  43. return self.get_query_params().get('HolderId')
  44. def set_HolderId(self,HolderId):
  45. self.add_query_param('HolderId',HolderId)
  46. def get_DeviceType(self):
  47. return self.get_query_params().get('DeviceType')
  48. def set_DeviceType(self,DeviceType):
  49. self.add_query_param('DeviceType',DeviceType)
  50. def get_DeviceCode(self):
  51. return self.get_query_params().get('DeviceCode')
  52. def set_DeviceCode(self,DeviceCode):
  53. self.add_query_param('DeviceCode',DeviceCode)
  54. def get_ApplyPrice(self):
  55. return self.get_query_params().get('ApplyPrice')
  56. def set_ApplyPrice(self,ApplyPrice):
  57. self.add_query_param('ApplyPrice',ApplyPrice)
  58. def get_TaskId(self):
  59. return self.get_query_params().get('TaskId')
  60. def set_TaskId(self,TaskId):
  61. self.add_query_param('TaskId',TaskId)
  62. def get_OuterCode(self):
  63. return self.get_query_params().get('OuterCode')
  64. def set_OuterCode(self,OuterCode):
  65. self.add_query_param('OuterCode',OuterCode)
  66. def get_QueryStr(self):
  67. return self.get_query_params().get('QueryStr')
  68. def set_QueryStr(self,QueryStr):
  69. self.add_query_param('QueryStr',QueryStr)
  70. def get_Phase(self):
  71. return self.get_query_params().get('Phase')
  72. def set_Phase(self,Phase):
  73. self.add_query_param('Phase',Phase)
  74. def get_BizResult(self):
  75. return self.get_query_params().get('BizResult')
  76. def set_BizResult(self,BizResult):
  77. self.add_query_param('BizResult',BizResult)
  78. def get_TaskType(self):
  79. return self.get_query_params().get('TaskType')
  80. def set_TaskType(self,TaskType):
  81. self.add_query_param('TaskType',TaskType)
  82. def get_BrandUserId(self):
  83. return self.get_query_params().get('BrandUserId')
  84. def set_BrandUserId(self,BrandUserId):
  85. self.add_query_param('BrandUserId',BrandUserId)
  86. def get_Sex(self):
  87. return self.get_query_params().get('Sex')
  88. def set_Sex(self,Sex):
  89. self.add_query_param('Sex',Sex)
  90. def get_CostDetail(self):
  91. return self.get_query_params().get('CostDetail')
  92. def set_CostDetail(self,CostDetail):
  93. self.add_query_param('CostDetail',CostDetail)
  94. def get_ProxyUserId(self):
  95. return self.get_query_params().get('ProxyUserId')
  96. def set_ProxyUserId(self,ProxyUserId):
  97. self.add_query_param('ProxyUserId',ProxyUserId)
  98. def get_AlipayOpenId(self):
  99. return self.get_query_params().get('AlipayOpenId')
  100. def set_AlipayOpenId(self,AlipayOpenId):
  101. self.add_query_param('AlipayOpenId',AlipayOpenId)
  102. def get_BizType(self):
  103. return self.get_query_params().get('BizType')
  104. def set_BizType(self,BizType):
  105. self.add_query_param('BizType',BizType)
  106. def get_BrandNick(self):
  107. return self.get_query_params().get('BrandNick')
  108. def set_BrandNick(self,BrandNick):
  109. self.add_query_param('BrandNick',BrandNick)
  110. def get_V(self):
  111. return self.get_query_params().get('V')
  112. def set_V(self,V):
  113. self.add_query_param('V',V)
  114. def get_ChargeTag(self):
  115. return self.get_query_params().get('ChargeTag')
  116. def set_ChargeTag(self,ChargeTag):
  117. self.add_query_param('ChargeTag',ChargeTag)
  118. def get_Age(self):
  119. return self.get_query_params().get('Age')
  120. def set_Age(self,Age):
  121. self.add_query_param('Age',Age)
  122. def get_ChannelId(self):
  123. return self.get_query_params().get('ChannelId')
  124. def set_ChannelId(self,ChannelId):
  125. self.add_query_param('ChannelId',ChannelId)
  126. def get_Cid(self):
  127. return self.get_query_params().get('Cid')
  128. def set_Cid(self,Cid):
  129. self.add_query_param('Cid',Cid)