CustomerMonthlyUsageRecord Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. usage. UsageRecordBase - com.
microsoft. store. partnercenter. models. usage. CustomerMonthlyUsageRecord
- com.
- com.
- com.
public class CustomerMonthlyUsageRecord extends UsageRecordBase
This class defines the monthly usage record of a customer for all its subscriptions.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| CustomerMonthlyUsageRecord() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Spending |
getBudget()
Gets the spending budget allocated for the customer. |
| boolean |
getIsUpgraded()
Gets a value indicating whether the customer's Azure subscription is upgraded. |
| double |
getPercentUsed()
Gets the percentage used out of the allocated budget. |
| void |
setBudget(SpendingBudget value)
Sets the spending budget allocated for the customer. |
| void |
setIsUpgraded(boolean value)
Sets a value indicating whether the customer's Azure subscription is upgraded. |
| void |
setPercentUsed(double value)
Sets the percentage used out of the allocated budget. |
Inherited Members
Constructor Details
CustomerMonthlyUsageRecord
public CustomerMonthlyUsageRecord()
Method Details
getBudget
public SpendingBudget getBudget()
Gets the spending budget allocated for the customer.
Returns:
getIsUpgraded
public boolean getIsUpgraded()
Gets a value indicating whether the customer's Azure subscription is upgraded.
Returns:
getPercentUsed
public double getPercentUsed()
Gets the percentage used out of the allocated budget.
Returns:
setBudget
public void setBudget(SpendingBudget value)
Sets the spending budget allocated for the customer.
Parameters:
setIsUpgraded
public void setIsUpgraded(boolean value)
Sets a value indicating whether the customer's Azure subscription is upgraded.
Parameters:
setPercentUsed
public void setPercentUsed(double value)
Sets the percentage used out of the allocated budget.
Parameters: