public class PrepayPrice extends AbstractModel
Constructor and Description |
---|
PrepayPrice() |
PrepayPrice(PrepayPrice 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 |
getChargeUnit()
Get Billing unit for pay-as-you-go cloud disks.
|
DetailPrice[] |
getDetailPrices()
Get Detailed billing items
Note: This field may return null, indicating that no valid values can be obtained.
|
Float |
getDiscountPrice()
Get Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD.
|
String |
getDiscountPriceHigh()
Get Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
|
Float |
getOriginalPrice()
Get Original payment of a monthly-subscribed cloud disk or a snapshot, in USD.
|
String |
getOriginalPriceHigh()
Get Original payment of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
|
Float |
getUnitPrice()
Get Original unit price of a pay-as-you-go cloud disk, in USD.
|
Float |
getUnitPriceDiscount()
Get Discount unit price of a pay-as-you-go cloud disk, in USD.
|
String |
getUnitPriceDiscountHigh()
Get Discounted unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
String |
getUnitPriceHigh()
Get Original unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
void |
setChargeUnit(String ChargeUnit)
Set Billing unit for pay-as-you-go cloud disks.
|
void |
setDetailPrices(DetailPrice[] DetailPrices)
Set Detailed billing items
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDiscountPrice(Float DiscountPrice)
Set Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD.
|
void |
setDiscountPriceHigh(String DiscountPriceHigh)
Set Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
|
void |
setOriginalPrice(Float OriginalPrice)
Set Original payment of a monthly-subscribed cloud disk or a snapshot, in USD.
|
void |
setOriginalPriceHigh(String OriginalPriceHigh)
Set Original payment of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
|
void |
setUnitPrice(Float UnitPrice)
Set Original unit price of a pay-as-you-go cloud disk, in USD.
|
void |
setUnitPriceDiscount(Float UnitPriceDiscount)
Set Discount unit price of a pay-as-you-go cloud disk, in USD.
|
void |
setUnitPriceDiscountHigh(String UnitPriceDiscountHigh)
Set Discounted unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
void |
setUnitPriceHigh(String UnitPriceHigh)
Set Original unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PrepayPrice()
public PrepayPrice(PrepayPrice source)
public Float getDiscountPrice()
public void setDiscountPrice(Float DiscountPrice)
DiscountPrice
- Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD.public String getChargeUnit()
public void setChargeUnit(String ChargeUnit)
ChargeUnit
- Billing unit for pay-as-you-go cloud disks. Valid value: public String getUnitPriceHigh()
public void setUnitPriceHigh(String UnitPriceHigh)
UnitPriceHigh
- Original unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getOriginalPriceHigh()
public void setOriginalPriceHigh(String OriginalPriceHigh)
OriginalPriceHigh
- Original payment of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.public Float getOriginalPrice()
public void setOriginalPrice(Float OriginalPrice)
OriginalPrice
- Original payment of a monthly-subscribed cloud disk or a snapshot, in USD.public Float getUnitPriceDiscount()
public void setUnitPriceDiscount(Float UnitPriceDiscount)
UnitPriceDiscount
- Discount unit price of a pay-as-you-go cloud disk, in USD.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getUnitPriceDiscountHigh()
public void setUnitPriceDiscountHigh(String UnitPriceDiscountHigh)
UnitPriceDiscountHigh
- Discounted unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getDiscountPriceHigh()
public void setDiscountPriceHigh(String DiscountPriceHigh)
DiscountPriceHigh
- Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.public Float getUnitPrice()
public void setUnitPrice(Float UnitPrice)
UnitPrice
- Original unit price of a pay-as-you-go cloud disk, in USD.
Note: this field may return `null`, indicating that no valid values can be obtained.public DetailPrice[] getDetailPrices()
public void setDetailPrices(DetailPrice[] DetailPrices)
DetailPrices
- Detailed billing items
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.