Class CustomerMonthlyUsageRecord


public class CustomerMonthlyUsageRecord
extends UsageRecordBase
This class defines the monthly usage record of a customer for all its subscriptions.
  • Constructor Details

  • Method Details

    • getBudget

      public SpendingBudget getBudget()
      Gets the spending budget allocated for the customer.
      Returns:
      The spending budget allocated for the customer.
    • setBudget

      public void setBudget​(SpendingBudget value)
      Sets the spending budget allocated for the customer.
      Parameters:
      value - The spending budget allocated for the customer.
    • getIsUpgraded

      public boolean getIsUpgraded()
      Gets a value indicating whether the customer's Azure subscription is upgraded.
      Returns:
      A value indicating whether the customer's Azure subscription is upgraded.
    • setIsUpgraded

      public void setIsUpgraded​(boolean value)
      Sets a value indicating whether the customer's Azure subscription is upgraded.
      Parameters:
      value - A value indicating whether the customer's Azure subscription is upgraded.
    • getPercentUsed

      public double getPercentUsed()
      Gets the percentage used out of the allocated budget.
      Returns:
      The percentage used out of the allocated budget.
    • setPercentUsed

      public void setPercentUsed​(double value)
      Sets the percentage used out of the allocated budget.
      Parameters:
      value - The percentage used out of the allocated budget.