Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions proto/viam/app/v1/billing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ message GetCurrentMonthUsageResponse {
double discount_amount = 8;
double total_usage_with_discount = 9;
double total_usage_without_discount = 10;
double monthly_machines_usage_cost = 11;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"monthly" is redundant since "Month" is in the message name

nit: "machine_usage_cost" can be vague as it can mean the sum of above costs. something like "total_per_machine_usage_cost" is clearer to me. I don't feel strongly about this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "total" is a bit confusing because the other fields that start with "total" represent the full total cost whereas this could be one of many SKUs in the future potentially (although i know right now its the only sku applicable for the billing tier with it). made it per_machine_usage_cost instead?

double cost_per_machine_per_month = 12;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field seems unnecessary for the same reason we don't have it for other resources.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chatted offline, removing and will omit from FE design as well. users can look at invoice for the sku information like this.

}

message GetOrgBillingInformationRequest {
Expand Down