Package viam.app.v1
Interface Billing.ResourceUsageCostsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Billing.ResourceUsageCosts
,Billing.ResourceUsageCosts.Builder
- Enclosing class:
- Billing
public static interface Billing.ResourceUsageCostsOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double discount = 2 [json_name = "discount"];
double
double total_with_discount = 3 [json_name = "totalWithDiscount"];
double
double total_without_discount = 4 [json_name = "totalWithoutDiscount"];
getUsageCosts
(int index) repeated .viam.app.v1.UsageCost usage_costs = 1 [json_name = "usageCosts"];
int
repeated .viam.app.v1.UsageCost usage_costs = 1 [json_name = "usageCosts"];
repeated .viam.app.v1.UsageCost usage_costs = 1 [json_name = "usageCosts"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getUsageCostsList
List<Billing.UsageCost> getUsageCostsList()repeated .viam.app.v1.UsageCost usage_costs = 1 [json_name = "usageCosts"];
-
getUsageCosts
repeated .viam.app.v1.UsageCost usage_costs = 1 [json_name = "usageCosts"];
-
getUsageCostsCount
int getUsageCostsCount()repeated .viam.app.v1.UsageCost usage_costs = 1 [json_name = "usageCosts"];
-
getDiscount
double getDiscount()double discount = 2 [json_name = "discount"];
- Returns:
- The discount.
-
getTotalWithDiscount
double getTotalWithDiscount()double total_with_discount = 3 [json_name = "totalWithDiscount"];
- Returns:
- The totalWithDiscount.
-
getTotalWithoutDiscount
double getTotalWithoutDiscount()double total_without_discount = 4 [json_name = "totalWithoutDiscount"];
- Returns:
- The totalWithoutDiscount.
-