AccountOperateRequest.py 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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 AccountOperateRequest(RpcRequest):
  22. def __init__(self):
  23. RpcRequest.__init__(self, 'UniMkt', '2018-12-07', 'AccountOperate','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_AccountManagerNumber(self):
  31. return self.get_body_params().get('AccountManagerNumber')
  32. def set_AccountManagerNumber(self,AccountManagerNumber):
  33. self.add_body_params('AccountManagerNumber', AccountManagerNumber)
  34. def get_FromUserId(self):
  35. return self.get_body_params().get('FromUserId')
  36. def set_FromUserId(self,FromUserId):
  37. self.add_body_params('FromUserId', FromUserId)
  38. def get_ToAccountNo(self):
  39. return self.get_body_params().get('ToAccountNo')
  40. def set_ToAccountNo(self,ToAccountNo):
  41. self.add_body_params('ToAccountNo', ToAccountNo)
  42. def get_CataloguePrice(self):
  43. return self.get_body_params().get('CataloguePrice')
  44. def set_CataloguePrice(self,CataloguePrice):
  45. self.add_body_params('CataloguePrice', CataloguePrice)
  46. def get_BpId(self):
  47. return self.get_body_params().get('BpId')
  48. def set_BpId(self,BpId):
  49. self.add_body_params('BpId', BpId)
  50. def get_OperateName(self):
  51. return self.get_body_params().get('OperateName')
  52. def set_OperateName(self,OperateName):
  53. self.add_body_params('OperateName', OperateName)
  54. def get_Balance(self):
  55. return self.get_body_params().get('Balance')
  56. def set_Balance(self,Balance):
  57. self.add_body_params('Balance', Balance)
  58. def get_ActualAmount(self):
  59. return self.get_body_params().get('ActualAmount')
  60. def set_ActualAmount(self,ActualAmount):
  61. self.add_body_params('ActualAmount', ActualAmount)
  62. def get_ProxyUserNick(self):
  63. return self.get_body_params().get('ProxyUserNick')
  64. def set_ProxyUserNick(self,ProxyUserNick):
  65. self.add_body_params('ProxyUserNick', ProxyUserNick)
  66. def get_FromAccountNo(self):
  67. return self.get_body_params().get('FromAccountNo')
  68. def set_FromAccountNo(self,FromAccountNo):
  69. self.add_body_params('FromAccountNo', FromAccountNo)
  70. def get_PriceVersion(self):
  71. return self.get_body_params().get('PriceVersion')
  72. def set_PriceVersion(self,PriceVersion):
  73. self.add_body_params('PriceVersion', PriceVersion)
  74. def get_CreateTime(self):
  75. return self.get_body_params().get('CreateTime')
  76. def set_CreateTime(self,CreateTime):
  77. self.add_body_params('CreateTime', CreateTime)
  78. def get_Amount(self):
  79. return self.get_body_params().get('Amount')
  80. def set_Amount(self,Amount):
  81. self.add_body_params('Amount', Amount)
  82. def get_AccountManagerName(self):
  83. return self.get_body_params().get('AccountManagerName')
  84. def set_AccountManagerName(self,AccountManagerName):
  85. self.add_body_params('AccountManagerName', AccountManagerName)
  86. def get_ToUserId(self):
  87. return self.get_body_params().get('ToUserId')
  88. def set_ToUserId(self,ToUserId):
  89. self.add_body_params('ToUserId', ToUserId)
  90. def get_MarketCount(self):
  91. return self.get_body_params().get('MarketCount')
  92. def set_MarketCount(self,MarketCount):
  93. self.add_body_params('MarketCount', MarketCount)
  94. def get_ProxyUserId(self):
  95. return self.get_body_params().get('ProxyUserId')
  96. def set_ProxyUserId(self,ProxyUserId):
  97. self.add_body_params('ProxyUserId', ProxyUserId)
  98. def get_DiscountRate(self):
  99. return self.get_body_params().get('DiscountRate')
  100. def set_DiscountRate(self,DiscountRate):
  101. self.add_body_params('DiscountRate', DiscountRate)
  102. def get_AccuActualAmount(self):
  103. return self.get_body_params().get('AccuActualAmount')
  104. def set_AccuActualAmount(self,AccuActualAmount):
  105. self.add_body_params('AccuActualAmount', AccuActualAmount)
  106. def get_FlowId(self):
  107. return self.get_body_params().get('FlowId')
  108. def set_FlowId(self,FlowId):
  109. self.add_body_params('FlowId', FlowId)
  110. def get_PreDebit(self):
  111. return self.get_body_params().get('PreDebit')
  112. def set_PreDebit(self,PreDebit):
  113. self.add_body_params('PreDebit', PreDebit)
  114. def get_AccuAmount(self):
  115. return self.get_body_params().get('AccuAmount')
  116. def set_AccuAmount(self,AccuAmount):
  117. self.add_body_params('AccuAmount', AccuAmount)