public class InquiryPriceCreateInstanceResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
InquiryPriceCreateInstanceResponse() |
InquiryPriceCreateInstanceResponse(InquiryPriceCreateInstanceResponse 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 |
---|---|
Float |
getDiscountCost()
Get Discounted price.
|
Float |
getOriginalCost()
Get Original price.
|
ZoneDetailPriceResult[] |
getPriceList()
Get The price list.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
Long |
getTimeSpan()
Get Instance purchase duration.
|
String |
getTimeUnit()
Get Time unit of purchase instances.
|
void |
setDiscountCost(Float DiscountCost)
Set Discounted price.
|
void |
setOriginalCost(Float OriginalCost)
Set Original price.
|
void |
setPriceList(ZoneDetailPriceResult[] PriceList)
Set The price list.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setTimeSpan(Long TimeSpan)
Set Instance purchase duration.
|
void |
setTimeUnit(String TimeUnit)
Set Time unit of purchase instances.
|
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, toJsonString
public InquiryPriceCreateInstanceResponse()
public InquiryPriceCreateInstanceResponse(InquiryPriceCreateInstanceResponse source)
public Float getOriginalCost()
public void setOriginalCost(Float OriginalCost)
OriginalCost
- Original price.public Float getDiscountCost()
public void setDiscountCost(Float DiscountCost)
DiscountCost
- Discounted price.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- Time unit of purchase instances. Valid values.
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- Instance purchase duration.public ZoneDetailPriceResult[] getPriceList()
public void setPriceList(ZoneDetailPriceResult[] PriceList)
PriceList
- The price list.
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.