SyncUnionOrderRequest.py 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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 SyncUnionOrderRequest(RpcRequest):
  22. def __init__(self):
  23. RpcRequest.__init__(self, 'UniMkt', '2018-12-12', 'SyncUnionOrder','uniMkt')
  24. self.set_method('POST')
  25. if hasattr(self, "endpoint_map"):
  26. setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
  27. if hasattr(self, "endpoint_regional"):
  28. setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
  29. def get_TaskType(self):
  30. return self.get_query_params().get('TaskType')
  31. def set_TaskType(self,TaskType):
  32. self.add_query_param('TaskType',TaskType)
  33. def get_RealCostAmount(self):
  34. return self.get_query_params().get('RealCostAmount')
  35. def set_RealCostAmount(self,RealCostAmount):
  36. self.add_query_param('RealCostAmount',RealCostAmount)
  37. def get_TaskBizType(self):
  38. return self.get_query_params().get('TaskBizType')
  39. def set_TaskBizType(self,TaskBizType):
  40. self.add_query_param('TaskBizType',TaskBizType)
  41. def get_Sex(self):
  42. return self.get_query_params().get('Sex')
  43. def set_Sex(self,Sex):
  44. self.add_query_param('Sex',Sex)
  45. def get_BrandUserId(self):
  46. return self.get_query_params().get('BrandUserId')
  47. def set_BrandUserId(self,BrandUserId):
  48. self.add_query_param('BrandUserId',BrandUserId)
  49. def get_BrandName(self):
  50. return self.get_query_params().get('BrandName')
  51. def set_BrandName(self,BrandName):
  52. self.add_query_param('BrandName',BrandName)
  53. def get_ProxyUserId(self):
  54. return self.get_query_params().get('ProxyUserId')
  55. def set_ProxyUserId(self,ProxyUserId):
  56. self.add_query_param('ProxyUserId',ProxyUserId)
  57. def get_DeviceId(self):
  58. return self.get_query_params().get('DeviceId')
  59. def set_DeviceId(self,DeviceId):
  60. self.add_query_param('DeviceId',DeviceId)
  61. def get_HolderId(self):
  62. return self.get_query_params().get('HolderId')
  63. def set_HolderId(self,HolderId):
  64. self.add_query_param('HolderId',HolderId)
  65. def get_BizSerialNumber(self):
  66. return self.get_query_params().get('BizSerialNumber')
  67. def set_BizSerialNumber(self,BizSerialNumber):
  68. self.add_query_param('BizSerialNumber',BizSerialNumber)
  69. def get_TaskRuleType(self):
  70. return self.get_query_params().get('TaskRuleType')
  71. def set_TaskRuleType(self,TaskRuleType):
  72. self.add_query_param('TaskRuleType',TaskRuleType)
  73. def get_IndustryLabelBagId(self):
  74. return self.get_query_params().get('IndustryLabelBagId')
  75. def set_IndustryLabelBagId(self,IndustryLabelBagId):
  76. self.add_query_param('IndustryLabelBagId',IndustryLabelBagId)
  77. def get_ApplyPrice(self):
  78. return self.get_query_params().get('ApplyPrice')
  79. def set_ApplyPrice(self,ApplyPrice):
  80. self.add_query_param('ApplyPrice',ApplyPrice)
  81. def get_ExtendInfo(self):
  82. return self.get_query_params().get('ExtendInfo')
  83. def set_ExtendInfo(self,ExtendInfo):
  84. self.add_query_param('ExtendInfo',ExtendInfo)
  85. def get_ChannelId(self):
  86. return self.get_query_params().get('ChannelId')
  87. def set_ChannelId(self,ChannelId):
  88. self.add_query_param('ChannelId',ChannelId)
  89. def get_Age(self):
  90. return self.get_query_params().get('Age')
  91. def set_Age(self,Age):
  92. self.add_query_param('Age',Age)
  93. def get_TaskId(self):
  94. return self.get_query_params().get('TaskId')
  95. def set_TaskId(self,TaskId):
  96. self.add_query_param('TaskId',TaskId)
  97. def get_Status(self):
  98. return self.get_query_params().get('Status')
  99. def set_Status(self,Status):
  100. self.add_query_param('Status',Status)