- 
                Notifications
    
You must be signed in to change notification settings  - Fork 84
 
APP-4415: Add machine cost protos to billing endpoint #486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
d00081d
              9e29e7d
              f6a4dec
              73814e3
              b9ca52d
              6f355e4
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| 
          
            
          
           | 
    @@ -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; | ||
| double cost_per_machine_per_month = 12; | ||
                
       | 
||
| } | ||
| 
     | 
||
| message GetOrgBillingInformationRequest { | ||
| 
          
            
          
           | 
    ||
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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_costinstead?