Class UsageRecordBase

java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.usage.UsageRecordBase
Direct Known Subclasses:
AzureResourceMonthlyUsageRecord, CustomerMonthlyUsageRecord, MeterUsageRecord, ResourceUsageRecord, SubscriptionDailyUsageRecord, SubscriptionMonthlyUsageRecord

public class UsageRecordBase
extends ResourceBase
Defines the common properties for all usage records.
  • Constructor Details

  • Method Details

    • getCurrencyLocale

      public Locale getCurrencyLocale()
      Gets the locale of the currency.
      Returns:
      The locale of the currency.
    • setCurrencyLocale

      public void setCurrencyLocale​(Locale value)
      Sets the locale of the currency.
      Parameters:
      value - The locale of the currency.
    • setLastModifiedDate

      public void setLastModifiedDate​(org.joda.time.DateTime value)
      Sets the date the usage record was last modified.
      Parameters:
      value - The date the usage record was last modified.
    • getResourceId

      public String getResourceId()
      Gets the resource unique identifier.
      Returns:
      The resource unique identifier.
    • setId

      public void setId​(String value)
      Sets the resource unique identifier.
      Parameters:
      value - The resource unique identifier.
    • getResourceName

      public String getResourceName()
      Gets the name of the resource.
      Returns:
      The name of the resource.
    • setResourceName

      public void setResourceName​(String value)
      Sets the name of the resource.
      Parameters:
      value - The name of the resource.
    • getTotalCost

      public double getTotalCost()
      Gets the estimated total cost of usage.
      Returns:
      The estimated total cost of usage.
    • setTotalCost

      public void setTotalCost​(double value)
      Sets the estimated total cost of usage.
      Parameters:
      value - The estimated total cost of usage.
    • getLastModifiedDate

      public org.joda.time.DateTime getLastModifiedDate()
      Gets the date the usage record was last modified.
      Returns:
      The date the usage record was last modified.