Class DiscountDetail
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lighthouse.v20200324.models.DiscountDetail
-
public class DiscountDetail extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DiscountDetail()DiscountDetail(DiscountDetail 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetDiscount()Get 折扣。PolicyDetailgetPolicyDetail()Get 具体折扣详情。FloatgetRealTotalCost()Get 折后总价。LonggetTimeSpan()Get 计费时长。StringgetTimeUnit()Get 计费单元。FloatgetTotalCost()Get 总价。voidsetDiscount(Float Discount)Set 折扣。voidsetPolicyDetail(PolicyDetail PolicyDetail)Set 具体折扣详情。voidsetRealTotalCost(Float RealTotalCost)Set 折后总价。voidsetTimeSpan(Long TimeSpan)Set 计费时长。voidsetTimeUnit(String TimeUnit)Set 计费单元。voidsetTotalCost(Float TotalCost)Set 总价。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DiscountDetail
public DiscountDetail()
-
DiscountDetail
public DiscountDetail(DiscountDetail 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.
-
-
Method Detail
-
getTimeSpan
public Long getTimeSpan()
Get 计费时长。- Returns:
- TimeSpan 计费时长。
-
setTimeSpan
public void setTimeSpan(Long TimeSpan)
Set 计费时长。- Parameters:
TimeSpan- 计费时长。
-
getTimeUnit
public String getTimeUnit()
Get 计费单元。- Returns:
- TimeUnit 计费单元。
-
setTimeUnit
public void setTimeUnit(String TimeUnit)
Set 计费单元。- Parameters:
TimeUnit- 计费单元。
-
getTotalCost
public Float getTotalCost()
Get 总价。- Returns:
- TotalCost 总价。
-
setTotalCost
public void setTotalCost(Float TotalCost)
Set 总价。- Parameters:
TotalCost- 总价。
-
getRealTotalCost
public Float getRealTotalCost()
Get 折后总价。- Returns:
- RealTotalCost 折后总价。
-
setRealTotalCost
public void setRealTotalCost(Float RealTotalCost)
Set 折后总价。- Parameters:
RealTotalCost- 折后总价。
-
getDiscount
public Float getDiscount()
Get 折扣。- Returns:
- Discount 折扣。
-
setDiscount
public void setDiscount(Float Discount)
Set 折扣。- Parameters:
Discount- 折扣。
-
getPolicyDetail
public PolicyDetail getPolicyDetail()
Get 具体折扣详情。- Returns:
- PolicyDetail 具体折扣详情。
-
setPolicyDetail
public void setPolicyDetail(PolicyDetail PolicyDetail)
Set 具体折扣详情。- Parameters:
PolicyDetail- 具体折扣详情。
-
-