Support encrypt and decrypt.
This commit is contained in:
45
cas/src/model/CancelOrderRequestRequest.cc
Normal file
45
cas/src/model/CancelOrderRequestRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cas/model/CancelOrderRequestRequest.h>
|
||||
|
||||
using AlibabaCloud::Cas::Model::CancelOrderRequestRequest;
|
||||
|
||||
CancelOrderRequestRequest::CancelOrderRequestRequest()
|
||||
: RpcServiceRequest("cas", "2020-04-07", "CancelOrderRequest") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelOrderRequestRequest::~CancelOrderRequestRequest() {}
|
||||
|
||||
long CancelOrderRequestRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void CancelOrderRequestRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string CancelOrderRequestRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void CancelOrderRequestRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user