public class ItemPrice extends AbstractModel
header, skipSign
Constructor and Description |
---|
ItemPrice() |
ItemPrice(ItemPrice 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 Pay-as-you-go billing method.
|
Float |
getDiscountPrice()
Get Discount price of the prepaid product.
|
Float |
getOriginalPrice()
Get Original price of the prepaid product.
|
Float |
getUnitPrice()
Get The pay-as-you-go billing method.
|
void |
setChargeUnit(String ChargeUnit)
Set Pay-as-you-go billing method.
|
void |
setDiscountPrice(Float DiscountPrice)
Set Discount price of the prepaid product.
|
void |
setOriginalPrice(Float OriginalPrice)
Set Original price of the prepaid product.
|
void |
setUnitPrice(Float UnitPrice)
Set The pay-as-you-go billing method.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ItemPrice()
public ItemPrice(ItemPrice source)
public Float getUnitPrice()
public void setUnitPrice(Float UnitPrice)
UnitPrice
- The pay-as-you-go billing method. Unit: CNY.public String getChargeUnit()
public void setChargeUnit(String ChargeUnit)
ChargeUnit
- Pay-as-you-go billing method. Value Range: HOUR: Indicates billing by the hour. Scenarios using this hourly billing unit include: Instances postpaid on an hourly basis (POSTPAID_BY_HOUR), and bandwidth postpaid on an hourly basis (BANDWIDTH_POSTPAID_BY_HOUR). GB: Indicates billing on a per-GB basis. Scenarios using this billing unit include: Traffic postpaid on an hourly basis (TRAFFIC_POSTPAID_BY_HOUR).public Float getOriginalPrice()
public void setOriginalPrice(Float OriginalPrice)
OriginalPrice
- Original price of the prepaid product. Unit: CNY.public Float getDiscountPrice()
public void setDiscountPrice(Float DiscountPrice)
DiscountPrice
- Discount price of the prepaid product. Unit: CNY.Copyright © 2024. All rights reserved.