Files
aliyun-openapi-cpp-sdk/domain/include/alibabacloud/domain/model/SaveBatchTaskForCreatingOrderRenewRequest.h
2020-03-26 17:47:49 +08:00

73 lines
2.3 KiB
C++

/*
* 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.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORCREATINGORDERRENEWREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORCREATINGORDERRENEWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT SaveBatchTaskForCreatingOrderRenewRequest : public RpcServiceRequest
{
public:
struct OrderRenewParam
{
int subscriptionDuration;
long currentExpirationDate;
std::string domainName;
};
public:
SaveBatchTaskForCreatingOrderRenewRequest();
~SaveBatchTaskForCreatingOrderRenewRequest();
std::string getCouponNo()const;
void setCouponNo(const std::string& couponNo);
bool getUseCoupon()const;
void setUseCoupon(bool useCoupon);
std::string getPromotionNo()const;
void setPromotionNo(const std::string& promotionNo);
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::vector<OrderRenewParam> getOrderRenewParam()const;
void setOrderRenewParam(const std::vector<OrderRenewParam>& orderRenewParam);
std::string getLang()const;
void setLang(const std::string& lang);
bool getUsePromotion()const;
void setUsePromotion(bool usePromotion);
private:
std::string couponNo_;
bool useCoupon_;
std::string promotionNo_;
std::string userClientIp_;
std::vector<OrderRenewParam> orderRenewParam_;
std::string lang_;
bool usePromotion_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SAVEBATCHTASKFORCREATINGORDERRENEWREQUEST_H_