public class ItemPrice extends AbstractModel
| Constructor and Description | 
|---|
| ItemPrice() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getChargeUnit()Get Billing unit for pay-as-you-go mode. | 
| Float | getDiscount()Get Percentage of the original price. | 
| Float | getDiscountPrice()Get Discount price of a prepaid instance, in USD. | 
| Float | getOriginalPrice()Get The original price of a pay-in-advance instance, in USD. | 
| Float | getUnitPrice()Get The original unit price for pay-as-you-go mode in USD. | 
| Float | getUnitPriceDiscount()Get The discounted unit price for pay-as-you-go mode in USD. | 
| Float | getUnitPriceDiscountSecondStep()Get Discounted unit price for the usage between 96 to 360 hours in USD. | 
| Float | getUnitPriceDiscountThirdStep()Get Discounted unit price for the usage after 360 hours in USD. | 
| Float | getUnitPriceSecondStep()Get Original unit price for the usage between 96 to 360 hours in USD. | 
| Float | getUnitPriceThirdStep()Get Original unit price for the usage after 360 hours in USD. | 
| void | setChargeUnit(String ChargeUnit)Set Billing unit for pay-as-you-go mode. | 
| void | setDiscount(Float Discount)Set Percentage of the original price. | 
| void | setDiscountPrice(Float DiscountPrice)Set Discount price of a prepaid instance, in USD. | 
| void | setOriginalPrice(Float OriginalPrice)Set The original price of a pay-in-advance instance, in USD. | 
| void | setUnitPrice(Float UnitPrice)Set The original unit price for pay-as-you-go mode in USD. | 
| void | setUnitPriceDiscount(Float UnitPriceDiscount)Set The discounted unit price for pay-as-you-go mode in USD. | 
| void | setUnitPriceDiscountSecondStep(Float UnitPriceDiscountSecondStep)Set Discounted unit price for the usage between 96 to 360 hours in USD. | 
| void | setUnitPriceDiscountThirdStep(Float UnitPriceDiscountThirdStep)Set Discounted unit price for the usage after 360 hours in USD. | 
| void | setUnitPriceSecondStep(Float UnitPriceSecondStep)Set Original unit price for the usage between 96 to 360 hours in USD. | 
| void | setUnitPriceThirdStep(Float UnitPriceThirdStep)Set Original unit price for the usage after 360 hours in USD. | 
| 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, toJsonStringpublic Float getUnitPrice()
public void setUnitPrice(Float UnitPrice)
UnitPrice - The original unit price for pay-as-you-go mode in USD. public String getChargeUnit()
public void setChargeUnit(String ChargeUnit)
ChargeUnit - Billing unit for pay-as-you-go mode. Valid values: public Float getOriginalPrice()
public void setOriginalPrice(Float OriginalPrice)
OriginalPrice - The original price of a pay-in-advance instance, in USD.
Note: this field may return null, indicating that no valid value is obtained.public Float getDiscountPrice()
public void setDiscountPrice(Float DiscountPrice)
DiscountPrice - Discount price of a prepaid instance, in USD.
Note: this field may return null, indicating that no valid value is obtained.public Float getDiscount()
public void setDiscount(Float Discount)
Discount - Percentage of the original price. For example, if you enter "20.0", the discounted price will be 20% of the original price.
Note: this field may return null, indicating that no valid values can be obtained.public Float getUnitPriceDiscount()
public void setUnitPriceDiscount(Float UnitPriceDiscount)
UnitPriceDiscount - The discounted unit price for pay-as-you-go mode in USD. public Float getUnitPriceSecondStep()
public void setUnitPriceSecondStep(Float UnitPriceSecondStep)
UnitPriceSecondStep - Original unit price for the usage between 96 to 360 hours in USD. It's applicable to pay-as-you-go mode.
Note: this field may return null, indicating that no valid value is obtained.public Float getUnitPriceDiscountSecondStep()
public void setUnitPriceDiscountSecondStep(Float UnitPriceDiscountSecondStep)
UnitPriceDiscountSecondStep - Discounted unit price for the usage between 96 to 360 hours in USD. It's applicable to pay-as-you-go mode.
Note: this field may return null, indicating that no valid value is obtained.public Float getUnitPriceThirdStep()
public void setUnitPriceThirdStep(Float UnitPriceThirdStep)
UnitPriceThirdStep - Original unit price for the usage after 360 hours in USD. It's applicable to pay-as-you-go mode.
Note: this field may return null, indicating that no valid value is obtained.public Float getUnitPriceDiscountThirdStep()
public void setUnitPriceDiscountThirdStep(Float UnitPriceDiscountThirdStep)
UnitPriceDiscountThirdStep - Discounted unit price for the usage after 360 hours in USD. It's applicable to pay-as-you-go mode.
Note: this field may return null, indicating that no valid value is obtained.Copyright © 2020. All rights reserved.