ResourceRateCardInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.commerce.fluent.models.ResourceRateCardInfoInner

Implements

public final class ResourceRateCardInfoInner
implements JsonSerializable<ResourceRateCardInfoInner>

Price and Metadata information for resources.

Method Summary

Modifier and Type Method and Description
String currency()

Get the currency property: The currency in which the rates are provided.

static ResourceRateCardInfoInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceRateCardInfoInner from the JsonReader.

Boolean isTaxIncluded()

Get the isTaxIncluded property: All rates are pretax, so this will always be returned as 'false'.

String locale()

Get the locale property: The culture in which the resource information is localized.

List<MeterInfo> meters()

Get the meters property: A list of meters.

List<OfferTermInfo> offerTerms()

Get the offerTerms property: A list of offer terms.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

currency

public String currency()

Get the currency property: The currency in which the rates are provided.

Returns:

the currency value.

fromJson

public static ResourceRateCardInfoInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceRateCardInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceRateCardInfoInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ResourceRateCardInfoInner.

isTaxIncluded

public Boolean isTaxIncluded()

Get the isTaxIncluded property: All rates are pretax, so this will always be returned as 'false'.

Returns:

the isTaxIncluded value.

locale

public String locale()

Get the locale property: The culture in which the resource information is localized.

Returns:

the locale value.

meters

public List<MeterInfo> meters()

Get the meters property: A list of meters.

Returns:

the meters value.

offerTerms

public List<OfferTermInfo> offerTerms()

Get the offerTerms property: A list of offer terms.

Returns:

the offerTerms value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to