public class TradePrice extends AbstractModel
header, skipSign
Constructor and Description |
---|
TradePrice() |
TradePrice(TradePrice 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 Price unit
|
Float |
getDiscount()
Get Total discount.
|
Long |
getTotalPrice()
Get The non-discounted total price of monthly subscribed resources (unit: US cent)
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getTotalPriceDiscount()
Get The discounted total price of monthly subscribed resources (unit: US cent).
|
Long |
getUnitPrice()
Get The non-discounted unit price of pay-as-you-go resources (unit: US cent)
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getUnitPriceDiscount()
Get The discounted unit price of pay-as-you-go resources (unit: US cent).
|
void |
setChargeUnit(String ChargeUnit)
Set Price unit
|
void |
setDiscount(Float Discount)
Set Total discount.
|
void |
setTotalPrice(Long TotalPrice)
Set The non-discounted total price of monthly subscribed resources (unit: US cent)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTotalPriceDiscount(Long TotalPriceDiscount)
Set The discounted total price of monthly subscribed resources (unit: US cent).
|
void |
setUnitPrice(Long UnitPrice)
Set The non-discounted unit price of pay-as-you-go resources (unit: US cent)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUnitPriceDiscount(Long UnitPriceDiscount)
Set The discounted unit price of pay-as-you-go resources (unit: US cent).
|
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 TradePrice()
public TradePrice(TradePrice source)
public Long getTotalPrice()
public void setTotalPrice(Long TotalPrice)
TotalPrice
- The non-discounted total price of monthly subscribed resources (unit: US cent)
Note: This field may return null, indicating that no valid values can be obtained.public Float getDiscount()
public void setDiscount(Float Discount)
Discount
- Total discount. `100` means no discount.public Long getTotalPriceDiscount()
public void setTotalPriceDiscount(Long TotalPriceDiscount)
TotalPriceDiscount
- The discounted total price of monthly subscribed resources (unit: US cent). If a discount is applied, `TotalPriceDiscount` will be the product of `TotalPrice` and `Discount`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getUnitPrice()
public void setUnitPrice(Long UnitPrice)
UnitPrice
- The non-discounted unit price of pay-as-you-go resources (unit: US cent)
Note: This field may return null, indicating that no valid values can be obtained.public Long getUnitPriceDiscount()
public void setUnitPriceDiscount(Long UnitPriceDiscount)
UnitPriceDiscount
- The discounted unit price of pay-as-you-go resources (unit: US cent). If a discount is applied, `UnitPriceDiscount` will be the product of `UnitPrice` and `Discount`.
Note: This field may return null, indicating that no valid values can be obtained.public String getChargeUnit()
public void setChargeUnit(String ChargeUnit)
ChargeUnit
- Price unitCopyright © 2024. All rights reserved.