Class ResourceRateCardInfoInner
java.lang.Object
com.azure.resourcemanager.commerce.fluent.models.ResourceRateCardInfoInner
Price and Metadata information for resources.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ResourceRateCardInfoInner class. -
Method Summary
Modifier and TypeMethodDescriptioncurrency()
Get the currency property: The currency in which the rates are provided.Get the isTaxIncluded property: All rates are pretax, so this will always be returned as 'false'.locale()
Get the locale property: The culture in which the resource information is localized.meters()
Get the meters property: A list of meters.Get the offerTerms property: A list of offer terms.void
validate()
Validates the instance.withCurrency
(String currency) Set the currency property: The currency in which the rates are provided.withIsTaxIncluded
(Boolean isTaxIncluded) Set the isTaxIncluded property: All rates are pretax, so this will always be returned as 'false'.withLocale
(String locale) Set the locale property: The culture in which the resource information is localized.withMeters
(List<MeterInfo> meters) Set the meters property: A list of meters.withOfferTerms
(List<OfferTermInfoAutoGenerated> offerTerms) Set the offerTerms property: A list of offer terms.
-
Constructor Details
-
ResourceRateCardInfoInner
public ResourceRateCardInfoInner()Creates an instance of ResourceRateCardInfoInner class.
-
-
Method Details
-
currency
Get the currency property: The currency in which the rates are provided.- Returns:
- the currency value.
-
withCurrency
Set the currency property: The currency in which the rates are provided.- Parameters:
currency
- the currency value to set.- Returns:
- the ResourceRateCardInfoInner object itself.
-
locale
Get the locale property: The culture in which the resource information is localized.- Returns:
- the locale value.
-
withLocale
Set the locale property: The culture in which the resource information is localized.- Parameters:
locale
- the locale value to set.- Returns:
- the ResourceRateCardInfoInner object itself.
-
isTaxIncluded
Get the isTaxIncluded property: All rates are pretax, so this will always be returned as 'false'.- Returns:
- the isTaxIncluded value.
-
withIsTaxIncluded
Set the isTaxIncluded property: All rates are pretax, so this will always be returned as 'false'.- Parameters:
isTaxIncluded
- the isTaxIncluded value to set.- Returns:
- the ResourceRateCardInfoInner object itself.
-
offerTerms
Get the offerTerms property: A list of offer terms.- Returns:
- the offerTerms value.
-
withOfferTerms
Set the offerTerms property: A list of offer terms.- Parameters:
offerTerms
- the offerTerms value to set.- Returns:
- the ResourceRateCardInfoInner object itself.
-
meters
Get the meters property: A list of meters.- Returns:
- the meters value.
-
withMeters
Set the meters property: A list of meters.- Parameters:
meters
- the meters value to set.- Returns:
- the ResourceRateCardInfoInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-