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 Billing unit for pay-as-you-go mode.
|
Float |
getDiscount()
Get Discount, such as 20.0 representing 80% off.
|
Float |
getDiscountFiveYear()
Get Specifies the discount for 5-year advance payment, such as 20.0 for 80% off.
|
Float |
getDiscountOneYear()
Get Specifies the discount for a one-year advance payment, such as 20.0 for 80% off.
|
Float |
getDiscountPrice()
Get Discount price of total prepaid costs.
|
Float |
getDiscountPriceFiveYear()
Get Prepaid 5-year total cost discount price, prepaid billing mode usage.
|
Float |
getDiscountPriceOneYear()
Get Discount price for total advance payment for one year.
|
Float |
getDiscountPriceThreeYear()
Get Specifies the discount price for an advance payment of the total fee for three years, prepaid mode usage, measurement unit: usd.
|
Float |
getDiscountThreeYear()
Get Specifies the discount for a 3-year advance payment, for example 20.0 represents 80% off.
|
Float |
getOriginalPrice()
Get Original price of total prepaid costs.
|
Float |
getOriginalPriceFiveYear()
Get Specifies the original price of the 5-year total cost with advance payment, using prepaid billing mode.
|
Float |
getOriginalPriceOneYear()
Get Original price of one-year advance payment total cost.
|
Float |
getOriginalPriceThreeYear()
Get Specifies the original price of total 3-year prepaid costs in prepaid billing mode.
|
Float |
getUnitPrice()
Get Original price of subsequent total costs, postpaid billing mode usage, unit: usd.
|
Float |
getUnitPriceDiscount()
Get Discounted price of subsequent total cost, postpaid billing mode usage, unit: usd if other time interval items are returned, such as UnitPriceDiscountSecondStep, this item represents the time interval (0, 96) hr; if no other time interval items are returned, this item represents the full period (0, ∞) hr.
|
Float |
getUnitPriceDiscountSecondStep()
Get Discounted price of subsequent total cost for usage time interval (96, 360) hr in postpaid billing mode.
|
Float |
getUnitPriceDiscountThirdStep()
Get Discounted price of subsequent total cost for usage time interval exceeding 360 hr in postpaid billing mode.
|
Float |
getUnitPriceSecondStep()
Get Original price of subsequent total costs for usage time range (96, 360) hr in postpaid billing mode.
|
Float |
getUnitPriceThirdStep()
Get Specifies the original price of subsequent total costs with a usage time interval exceeding 360 hr in postpaid billing mode.
|
void |
setChargeUnit(String ChargeUnit)
Set Billing unit for pay-as-you-go mode.
|
void |
setDiscount(Float Discount)
Set Discount, such as 20.0 representing 80% off.
|
void |
setDiscountFiveYear(Float DiscountFiveYear)
Set Specifies the discount for 5-year advance payment, such as 20.0 for 80% off.
|
void |
setDiscountOneYear(Float DiscountOneYear)
Set Specifies the discount for a one-year advance payment, such as 20.0 for 80% off.
|
void |
setDiscountPrice(Float DiscountPrice)
Set Discount price of total prepaid costs.
|
void |
setDiscountPriceFiveYear(Float DiscountPriceFiveYear)
Set Prepaid 5-year total cost discount price, prepaid billing mode usage.
|
void |
setDiscountPriceOneYear(Float DiscountPriceOneYear)
Set Discount price for total advance payment for one year.
|
void |
setDiscountPriceThreeYear(Float DiscountPriceThreeYear)
Set Specifies the discount price for an advance payment of the total fee for three years, prepaid mode usage, measurement unit: usd.
|
void |
setDiscountThreeYear(Float DiscountThreeYear)
Set Specifies the discount for a 3-year advance payment, for example 20.0 represents 80% off.
|
void |
setOriginalPrice(Float OriginalPrice)
Set Original price of total prepaid costs.
|
void |
setOriginalPriceFiveYear(Float OriginalPriceFiveYear)
Set Specifies the original price of the 5-year total cost with advance payment, using prepaid billing mode.
|
void |
setOriginalPriceOneYear(Float OriginalPriceOneYear)
Set Original price of one-year advance payment total cost.
|
void |
setOriginalPriceThreeYear(Float OriginalPriceThreeYear)
Set Specifies the original price of total 3-year prepaid costs in prepaid billing mode.
|
void |
setUnitPrice(Float UnitPrice)
Set Original price of subsequent total costs, postpaid billing mode usage, unit: usd.
|
void |
setUnitPriceDiscount(Float UnitPriceDiscount)
Set Discounted price of subsequent total cost, postpaid billing mode usage, unit: usd if other time interval items are returned, such as UnitPriceDiscountSecondStep, this item represents the time interval (0, 96) hr; if no other time interval items are returned, this item represents the full period (0, ∞) hr.
|
void |
setUnitPriceDiscountSecondStep(Float UnitPriceDiscountSecondStep)
Set Discounted price of subsequent total cost for usage time interval (96, 360) hr in postpaid billing mode.
|
void |
setUnitPriceDiscountThirdStep(Float UnitPriceDiscountThirdStep)
Set Discounted price of subsequent total cost for usage time interval exceeding 360 hr in postpaid billing mode.
|
void |
setUnitPriceSecondStep(Float UnitPriceSecondStep)
Set Original price of subsequent total costs for usage time range (96, 360) hr in postpaid billing mode.
|
void |
setUnitPriceThirdStep(Float UnitPriceThirdStep)
Set Specifies the original price of subsequent total costs with a usage time interval exceeding 360 hr in postpaid billing mode.
|
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 ItemPrice()
public ItemPrice(ItemPrice source)
public Float getUnitPrice()
public void setUnitPrice(Float UnitPrice)
UnitPrice
- Original price of subsequent total costs, postpaid billing mode usage, unit: 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
- Original price of total prepaid costs. measurement unit: usd.public Float getDiscountPrice()
public void setDiscountPrice(Float DiscountPrice)
DiscountPrice
- Discount price of total prepaid costs. unit: usd.public Float getDiscount()
public void setDiscount(Float Discount)
Discount
- Discount, such as 20.0 representing 80% off.public Float getUnitPriceDiscount()
public void setUnitPriceDiscount(Float UnitPriceDiscount)
UnitPriceDiscount
- Discounted price of subsequent total cost, postpaid billing mode usage, unit: usd public Float getUnitPriceSecondStep()
public void setUnitPriceSecondStep(Float UnitPriceSecondStep)
UnitPriceSecondStep
- Original price of subsequent total costs for usage time range (96, 360) hr in postpaid billing mode. unit: usd.public Float getUnitPriceDiscountSecondStep()
public void setUnitPriceDiscountSecondStep(Float UnitPriceDiscountSecondStep)
UnitPriceDiscountSecondStep
- Discounted price of subsequent total cost for usage time interval (96, 360) hr in postpaid billing mode. unit: usd.public Float getUnitPriceThirdStep()
public void setUnitPriceThirdStep(Float UnitPriceThirdStep)
UnitPriceThirdStep
- Specifies the original price of subsequent total costs with a usage time interval exceeding 360 hr in postpaid billing mode. measurement unit: usd.public Float getUnitPriceDiscountThirdStep()
public void setUnitPriceDiscountThirdStep(Float UnitPriceDiscountThirdStep)
UnitPriceDiscountThirdStep
- Discounted price of subsequent total cost for usage time interval exceeding 360 hr in postpaid billing mode. measurement unit: usd.public Float getOriginalPriceThreeYear()
public void setOriginalPriceThreeYear(Float OriginalPriceThreeYear)
OriginalPriceThreeYear
- Specifies the original price of total 3-year prepaid costs in prepaid billing mode. measurement unit: usd.
Note: This field may return null, indicating that no valid value is found.public Float getDiscountPriceThreeYear()
public void setDiscountPriceThreeYear(Float DiscountPriceThreeYear)
DiscountPriceThreeYear
- Specifies the discount price for an advance payment of the total fee for three years, prepaid mode usage, measurement unit: usd.
Note: This field may return null, indicating that no valid value is found.public Float getDiscountThreeYear()
public void setDiscountThreeYear(Float DiscountThreeYear)
DiscountThreeYear
- Specifies the discount for a 3-year advance payment, for example 20.0 represents 80% off.
Note: This field may return null, indicating that no valid value is found.public Float getOriginalPriceFiveYear()
public void setOriginalPriceFiveYear(Float OriginalPriceFiveYear)
OriginalPriceFiveYear
- Specifies the original price of the 5-year total cost with advance payment, using prepaid billing mode. measurement unit: usd.
Note: This field may return null, indicating that no valid value is found.public Float getDiscountPriceFiveYear()
public void setDiscountPriceFiveYear(Float DiscountPriceFiveYear)
DiscountPriceFiveYear
- Prepaid 5-year total cost discount price, prepaid billing mode usage. unit: usd.
Note: This field may return null, indicating that no valid value is found.public Float getDiscountFiveYear()
public void setDiscountFiveYear(Float DiscountFiveYear)
DiscountFiveYear
- Specifies the discount for 5-year advance payment, such as 20.0 for 80% off.
Note: This field may return null, indicating that no valid value is found.public Float getOriginalPriceOneYear()
public void setOriginalPriceOneYear(Float OriginalPriceOneYear)
OriginalPriceOneYear
- Original price of one-year advance payment total cost. prepaid mode usage. unit: usd.
Note: This field may return null, indicating that no valid value is found.public Float getDiscountPriceOneYear()
public void setDiscountPriceOneYear(Float DiscountPriceOneYear)
DiscountPriceOneYear
- Discount price for total advance payment for one year. specifies prepaid mode usage. measurement unit: usd.
Note: This field may return null, indicating that no valid value is found.public Float getDiscountOneYear()
public void setDiscountOneYear(Float DiscountOneYear)
DiscountOneYear
- Specifies the discount for a one-year advance payment, such as 20.0 for 80% off.
Note: This field may return null, indicating that no valid value is found.Copyright © 2025. All rights reserved.