public class CreatePlanRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreatePlanRequest() |
CreatePlanRequest(CreatePlanRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAutoUseVoucher()
Get Whether to automatically use a voucher.
|
String |
getPlanType()
Get Type of plan subscribed to.
|
PrepaidPlanParam |
getPrepaidPlanParam()
Get Parameters for subscribing to prepaid plans.
|
void |
setAutoUseVoucher(String AutoUseVoucher)
Set Whether to automatically use a voucher.
|
void |
setPlanType(String PlanType)
Set Type of plan subscribed to.
|
void |
setPrepaidPlanParam(PrepaidPlanParam PrepaidPlanParam)
Set Parameters for subscribing to prepaid plans.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreatePlanRequest()
public CreatePlanRequest(CreatePlanRequest source)
public String getPlanType()
public void setPlanType(String PlanType)
PlanType
- Type of plan subscribed to. Valid values:public String getAutoUseVoucher()
public void setAutoUseVoucher(String AutoUseVoucher)
AutoUseVoucher
- Whether to automatically use a voucher. Valid values: public PrepaidPlanParam getPrepaidPlanParam()
public void setPrepaidPlanParam(PrepaidPlanParam PrepaidPlanParam)
PrepaidPlanParam
- Parameters for subscribing to prepaid plans. When PlanType is personal, basic, or standard, this parameter can be optionally set to specify the subscription duration and whether to enable auto-renewal for the plan.
If this field is not specified, the default plan duration is 1 month, with auto-renewal disabled.Copyright © 2024. All rights reserved.