Class PlanUsage
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.enterprise_usage_reports.v1.model.PlanUsage
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PlanUsage extends com.ibm.cloud.sdk.core.service.model.GenericModel
Aggregated values for the plan.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getCost()
Gets the cost.java.lang.String
getPlanId()
Gets the planId.java.lang.String
getPricingPlanId()
Gets the pricingPlanId.java.lang.String
getPricingRegion()
Gets the pricingRegion.java.lang.Double
getRatedCost()
Gets the ratedCost.java.util.List<MetricUsage>
getUsage()
Gets the usage.java.lang.Boolean
isBillable()
Gets the billable.
-
-
-
Method Detail
-
getPlanId
public java.lang.String getPlanId()
Gets the planId. The ID of the plan.- Returns:
- the planId
-
getPricingRegion
public java.lang.String getPricingRegion()
Gets the pricingRegion. The pricing region for the plan.- Returns:
- the pricingRegion
-
getPricingPlanId
public java.lang.String getPricingPlanId()
Gets the pricingPlanId. The pricing plan with which the usage was rated.- Returns:
- the pricingPlanId
-
isBillable
public java.lang.Boolean isBillable()
Gets the billable. Whether the plan charges are billed to the customer.- Returns:
- the billable
-
getCost
public java.lang.Double getCost()
Gets the cost. The total cost that was incurred by the plan.- Returns:
- the cost
-
getRatedCost
public java.lang.Double getRatedCost()
Gets the ratedCost. The total pre-discounted cost that was incurred by the plan.- Returns:
- the ratedCost
-
getUsage
public java.util.List<MetricUsage> getUsage()
Gets the usage. All of the metrics in the plan.- Returns:
- the usage
-
-