public class BillDetailComponent extends AbstractModel
skipSign
Constructor and Description |
---|
BillDetailComponent() |
BillDetailComponent(BillDetailComponent 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 |
getBlendedDiscount()
Get Blended discount multiplier: The final discount multiplier that is applied after combining multiple discount types, which is "Total amount after discount / Original cost".
|
String |
getCashPayAmount()
Get Cash credit: The amount paid from the user’s cash account
|
String |
getComponentCode()
Get Component name code.
|
String |
getComponentCodeName()
Get Component type: The component type of a product or service purchased, such as CVM instance components including CPU and memory.
|
String |
getContractPrice()
Get Component contracted price: The contracted unit price of a component, which is "List price x Discount".
|
String |
getCost()
Get Original cost: The original cost of a resource, which is "List price x Usage x Usage duration".
|
String |
getDeductedMeasure()
Get Deducted usage/duration (including packages): The usage/duration deducted with a package.
|
String |
getDiscount()
Get Discount multiplier: The discount multiplier applied to the cost of the resource.
|
String |
getIncentivePayAmount()
Get Free credit: The amount paid with the user’s free credit
|
String |
getInstanceType()
Get Instance type: The instance type of a product or service purchased, which can be resource package, RI, SP, or spot instance.
|
String |
getItemCode()
Get Component type code.
|
String |
getItemCodeName()
Get Component name: The specific component of a product or service purchased
|
String |
getOriginalCostWithRI()
Get RI deduction (cost): The amount deducted from the original cost by RI.
|
String |
getOriginalCostWithSP()
Get SP deduction (cost): SP deduction (cost) = Cost deduction by SP / SP deduction rate.
|
String |
getPriceUnit()
Get Component price measurement unit: The unit of measurement for a component price, which is composed of USD, usage unit, and duration unit.
|
String |
getRealCost()
Get Total amount after discount: Total amount after discount = (Original cost - RI deduction (cost) - SP deduction (cost)) x Discount multiplier
|
String |
getRealTotalMeasure()
Get Raw usage/duration: The raw usage/duration of a component before deduction.
|
String |
getReduceType()
Get Offer type
|
String |
getRiTimeSpan()
Get RI deduction (duration): The usage duration deducted by RI.
|
String |
getSinglePrice()
Get Component list price: The listed unit price of a component.
|
String |
getSPDeduction()
Deprecated.
|
String |
getSPDeductionRate()
Get Savings plan deduction rate: The discount multiplier that applies to the component based on the remaining commitment of the savings plan.
|
String |
getSpecifiedPrice()
Deprecated.
|
String |
getTimeSpan()
Get Usage duration: The resource usage duration
|
String |
getTimeUnitName()
Get Duration unit: The unit of measurement for usage duration
|
String |
getTransferPayAmount()
Get Commission credit: The amount paid with the user’s commission credit.
|
String |
getUsedAmount()
Get Component usage: The actually settled usage of a component, which is "Raw usage - Deducted usage (including packages)".
|
String |
getUsedAmountUnit()
Get Component usage unit: The unit of measurement for component usage
|
String |
getVoucherPayAmount()
Get Voucher payment: The voucher deduction amount
|
void |
setBlendedDiscount(String BlendedDiscount)
Set Blended discount multiplier: The final discount multiplier that is applied after combining multiple discount types, which is "Total amount after discount / Original cost".
|
void |
setCashPayAmount(String CashPayAmount)
Set Cash credit: The amount paid from the user’s cash account
|
void |
setComponentCode(String ComponentCode)
Set Component name code.
|
void |
setComponentCodeName(String ComponentCodeName)
Set Component type: The component type of a product or service purchased, such as CVM instance components including CPU and memory.
|
void |
setContractPrice(String ContractPrice)
Set Component contracted price: The contracted unit price of a component, which is "List price x Discount".
|
void |
setCost(String Cost)
Set Original cost: The original cost of a resource, which is "List price x Usage x Usage duration".
|
void |
setDeductedMeasure(String DeductedMeasure)
Set Deducted usage/duration (including packages): The usage/duration deducted with a package.
|
void |
setDiscount(String Discount)
Set Discount multiplier: The discount multiplier applied to the cost of the resource.
|
void |
setIncentivePayAmount(String IncentivePayAmount)
Set Free credit: The amount paid with the user’s free credit
|
void |
setInstanceType(String InstanceType)
Set Instance type: The instance type of a product or service purchased, which can be resource package, RI, SP, or spot instance.
|
void |
setItemCode(String ItemCode)
Set Component type code.
|
void |
setItemCodeName(String ItemCodeName)
Set Component name: The specific component of a product or service purchased
|
void |
setOriginalCostWithRI(String OriginalCostWithRI)
Set RI deduction (cost): The amount deducted from the original cost by RI.
|
void |
setOriginalCostWithSP(String OriginalCostWithSP)
Set SP deduction (cost): SP deduction (cost) = Cost deduction by SP / SP deduction rate.
|
void |
setPriceUnit(String PriceUnit)
Set Component price measurement unit: The unit of measurement for a component price, which is composed of USD, usage unit, and duration unit.
|
void |
setRealCost(String RealCost)
Set Total amount after discount: Total amount after discount = (Original cost - RI deduction (cost) - SP deduction (cost)) x Discount multiplier
|
void |
setRealTotalMeasure(String RealTotalMeasure)
Set Raw usage/duration: The raw usage/duration of a component before deduction.
|
void |
setReduceType(String ReduceType)
Set Offer type
|
void |
setRiTimeSpan(String RiTimeSpan)
Set RI deduction (duration): The usage duration deducted by RI.
|
void |
setSinglePrice(String SinglePrice)
Set Component list price: The listed unit price of a component.
|
void |
setSPDeduction(String SPDeduction)
Deprecated.
|
void |
setSPDeductionRate(String SPDeductionRate)
Set Savings plan deduction rate: The discount multiplier that applies to the component based on the remaining commitment of the savings plan.
|
void |
setSpecifiedPrice(String SpecifiedPrice)
Deprecated.
|
void |
setTimeSpan(String TimeSpan)
Set Usage duration: The resource usage duration
|
void |
setTimeUnitName(String TimeUnitName)
Set Duration unit: The unit of measurement for usage duration
|
void |
setTransferPayAmount(String TransferPayAmount)
Set Commission credit: The amount paid with the user’s commission credit.
|
void |
setUsedAmount(String UsedAmount)
Set Component usage: The actually settled usage of a component, which is "Raw usage - Deducted usage (including packages)".
|
void |
setUsedAmountUnit(String UsedAmountUnit)
Set Component usage unit: The unit of measurement for component usage
|
void |
setVoucherPayAmount(String VoucherPayAmount)
Set Voucher payment: The voucher deduction amount
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public BillDetailComponent()
public BillDetailComponent(BillDetailComponent source)
public String getComponentCodeName()
public void setComponentCodeName(String ComponentCodeName)
ComponentCodeName
- Component type: The component type of a product or service purchased, such as CVM instance components including CPU and memory.public String getItemCodeName()
public void setItemCodeName(String ItemCodeName)
ItemCodeName
- Component name: The specific component of a product or service purchasedpublic String getSinglePrice()
public void setSinglePrice(String SinglePrice)
SinglePrice
- Component list price: The listed unit price of a component. If a customer has applied for a fixed preferential price or contract price, this parameter will not be displayed by default.@Deprecated public String getSpecifiedPrice()
@Deprecated public void setSpecifiedPrice(String SpecifiedPrice)
SpecifiedPrice
- Specified price of a component. This parameter has been deprecated.public String getPriceUnit()
public void setPriceUnit(String PriceUnit)
PriceUnit
- Component price measurement unit: The unit of measurement for a component price, which is composed of USD, usage unit, and duration unit.public String getUsedAmount()
public void setUsedAmount(String UsedAmount)
UsedAmount
- Component usage: The actually settled usage of a component, which is "Raw usage - Deducted usage (including packages)".public String getUsedAmountUnit()
public void setUsedAmountUnit(String UsedAmountUnit)
UsedAmountUnit
- Component usage unit: The unit of measurement for component usagepublic String getRealTotalMeasure()
public void setRealTotalMeasure(String RealTotalMeasure)
RealTotalMeasure
- Raw usage/duration: The raw usage/duration of a component before deduction. Note: This field may return null, indicating that no valid values can be obtained.public String getDeductedMeasure()
public void setDeductedMeasure(String DeductedMeasure)
DeductedMeasure
- Deducted usage/duration (including packages): The usage/duration deducted with a package. Note: This field may return null, indicating that no valid values can be obtained.public String getTimeSpan()
public void setTimeSpan(String TimeSpan)
TimeSpan
- Usage duration: The resource usage durationpublic String getTimeUnitName()
public void setTimeUnitName(String TimeUnitName)
TimeUnitName
- Duration unit: The unit of measurement for usage durationpublic String getCost()
public void setCost(String Cost)
Cost
- Original cost: The original cost of a resource, which is "List price x Usage x Usage duration". If a customer has applied for a fixed preferential price or contract price or is in a refund scenario, this parameter will not be displayed by default.public String getDiscount()
public void setDiscount(String Discount)
Discount
- Discount multiplier: The discount multiplier applied to the cost of the resource. If a customer has applied for a fixed preferential price or contract price or is in a refund scenario, this parameter will not be displayed by default.public String getReduceType()
public void setReduceType(String ReduceType)
ReduceType
- Offer typepublic String getRealCost()
public void setRealCost(String RealCost)
RealCost
- Total amount after discount: Total amount after discount = (Original cost - RI deduction (cost) - SP deduction (cost)) x Discount multiplierpublic String getVoucherPayAmount()
public void setVoucherPayAmount(String VoucherPayAmount)
VoucherPayAmount
- Voucher payment: The voucher deduction amountpublic String getCashPayAmount()
public void setCashPayAmount(String CashPayAmount)
CashPayAmount
- Cash credit: The amount paid from the user’s cash accountpublic String getIncentivePayAmount()
public void setIncentivePayAmount(String IncentivePayAmount)
IncentivePayAmount
- Free credit: The amount paid with the user’s free creditpublic String getTransferPayAmount()
public void setTransferPayAmount(String TransferPayAmount)
TransferPayAmount
- Commission credit: The amount paid with the user’s commission credit. Note: This field may return null, indicating that no valid values can be obtained.public String getItemCode()
public void setItemCode(String ItemCode)
ItemCode
- Component type code. Note: This field may return null, indicating that no valid values can be obtained.public String getComponentCode()
public void setComponentCode(String ComponentCode)
ComponentCode
- Component name code. Note: This field may return null, indicating that no valid values can be obtained.public String getContractPrice()
public void setContractPrice(String ContractPrice)
ContractPrice
- Component contracted price: The contracted unit price of a component, which is "List price x Discount". Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance type: The instance type of a product or service purchased, which can be resource package, RI, SP, or spot instance. Other instance types are not displayed by default. Note: This field may return null, indicating that no valid values can be obtained.public String getRiTimeSpan()
public void setRiTimeSpan(String RiTimeSpan)
RiTimeSpan
- RI deduction (duration): The usage duration deducted by RI. Note: This field may return null, indicating that no valid values can be obtained.public String getOriginalCostWithRI()
public void setOriginalCostWithRI(String OriginalCostWithRI)
OriginalCostWithRI
- RI deduction (cost): The amount deducted from the original cost by RI. Note: This field may return null, indicating that no valid values can be obtained.public String getSPDeductionRate()
public void setSPDeductionRate(String SPDeductionRate)
SPDeductionRate
- Savings plan deduction rate: The discount multiplier that applies to the component based on the remaining commitment of the savings plan. Note: This field may return null, indicating that no valid values can be obtained.@Deprecated public String getSPDeduction()
@Deprecated public void setSPDeduction(String SPDeduction)
SPDeduction
- Cost deduction by SP. This parameter has been deprecated. Note: This field may return null, indicating that no valid values can be obtained.public String getOriginalCostWithSP()
public void setOriginalCostWithSP(String OriginalCostWithSP)
OriginalCostWithSP
- SP deduction (cost): SP deduction (cost) = Cost deduction by SP / SP deduction rate. Note: This field may return null, indicating that no valid values can be obtained.public String getBlendedDiscount()
public void setBlendedDiscount(String BlendedDiscount)
BlendedDiscount
- Blended discount multiplier: The final discount multiplier that is applied after combining multiple discount types, which is "Total amount after discount / Original cost". Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.