public class ChargeProperties extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ChargeProperties() |
ChargeProperties(ChargeProperties 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 |
getChargeType()
Get Billing type: PREPAID for prepayment, and POSTPAID_BY_HOUR for postpayment.
|
Long |
getRenewFlag()
Get Whether to automatically renew.
|
Long |
getTimeSpan()
Get Billing duration
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTimeUnit()
Get Billing time unit, and "m" means month, etc.
|
void |
setChargeType(String ChargeType)
Set Billing type: PREPAID for prepayment, and POSTPAID_BY_HOUR for postpayment.
|
void |
setRenewFlag(Long RenewFlag)
Set Whether to automatically renew.
|
void |
setTimeSpan(Long TimeSpan)
Set Billing duration
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTimeUnit(String TimeUnit)
Set Billing time unit, and "m" means month, etc.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ChargeProperties()
public ChargeProperties(ChargeProperties source)
public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType - Billing type: PREPAID for prepayment, and POSTPAID_BY_HOUR for postpayment.
Note: This field may return null, indicating that no valid values can be obtained.public Long getRenewFlag()
public void setRenewFlag(Long RenewFlag)
RenewFlag - Whether to automatically renew. 1 means automatic renewal is enabled.
Note: This field may return null, indicating that no valid values can be obtained.public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan - Billing duration
Note: This field may return null, indicating that no valid values can be obtained.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit - Billing time unit, and "m" means month, etc.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.