PriceSheetProperties Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. models. PriceSheetProperties
- com.
Implements
public final class PriceSheetProperties
implements JsonSerializable<PriceSheetProperties>
The properties of the price sheet.
Constructor Summary
Constructor | Description |
---|---|
PriceSheetProperties() |
Creates an instance of Price |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
billingPeriodId()
Get the billing |
String |
currencyCode()
Get the currency |
static
Price |
fromJson(JsonReader jsonReader)
Reads an instance of Price |
Big |
includedQuantity()
Get the included |
Meter |
meterDetails()
Get the meter |
UUID |
meterId()
Get the meter |
String |
offerId()
Get the offer |
String |
partNumber()
Get the part |
Json |
toJson(JsonWriter jsonWriter) |
String |
unitOfMeasure()
Get the unit |
Big |
unitPrice()
Get the unit |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
PriceSheetProperties
public PriceSheetProperties()
Creates an instance of PriceSheetProperties class.
Method Details
billingPeriodId
public String billingPeriodId()
Get the billingPeriodId property: The id of the billing period resource that the usage belongs to.
Returns:
currencyCode
public String currencyCode()
Get the currencyCode property: Currency Code.
Returns:
fromJson
public static PriceSheetProperties fromJson(JsonReader jsonReader)
Reads an instance of PriceSheetProperties from the JsonReader.
Parameters:
Returns:
Throws:
includedQuantity
public BigDecimal includedQuantity()
Get the includedQuantity property: Included quality for an offer.
Returns:
meterDetails
public MeterDetails meterDetails()
Get the meterDetails property: The details about the meter. By default this is not populated, unless it's specified in $expand.
Returns:
meterId
public UUID meterId()
Get the meterId property: The meter id (GUID).
Returns:
offerId
public String offerId()
Get the offerId property: Offer Id.
Returns:
partNumber
public String partNumber()
Get the partNumber property: Part Number.
Returns:
toJson
unitOfMeasure
public String unitOfMeasure()
Get the unitOfMeasure property: Unit of measure.
Returns:
unitPrice
public BigDecimal unitPrice()
Get the unitPrice property: Unit Price.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java