Class ResourceRateCardInfoInner

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

public final class ResourceRateCardInfoInner extends Object
Price and Metadata information for resources.
  • Constructor Details

    • ResourceRateCardInfoInner

      public ResourceRateCardInfoInner()
      Creates an instance of ResourceRateCardInfoInner class.
  • Method Details

    • currency

      public String currency()
      Get the currency property: The currency in which the rates are provided.
      Returns:
      the currency value.
    • withCurrency

      public ResourceRateCardInfoInner withCurrency(String currency)
      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

      public String locale()
      Get the locale property: The culture in which the resource information is localized.
      Returns:
      the locale value.
    • withLocale

      public ResourceRateCardInfoInner withLocale(String locale)
      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

      public Boolean isTaxIncluded()
      Get the isTaxIncluded property: All rates are pretax, so this will always be returned as 'false'.
      Returns:
      the isTaxIncluded value.
    • withIsTaxIncluded

      public ResourceRateCardInfoInner withIsTaxIncluded(Boolean isTaxIncluded)
      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

      public List<OfferTermInfoAutoGenerated> offerTerms()
      Get the offerTerms property: A list of offer terms.
      Returns:
      the offerTerms value.
    • withOfferTerms

      public ResourceRateCardInfoInner withOfferTerms(List<OfferTermInfoAutoGenerated> offerTerms)
      Set the offerTerms property: A list of offer terms.
      Parameters:
      offerTerms - the offerTerms value to set.
      Returns:
      the ResourceRateCardInfoInner object itself.
    • meters

      public List<MeterInfo> meters()
      Get the meters property: A list of meters.
      Returns:
      the meters value.
    • withMeters

      public ResourceRateCardInfoInner withMeters(List<MeterInfo> meters)
      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.