-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[euvr] Separate Billing Payment/History APIs #1932
Conversation
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.
Do we want to target this to master?
@@ -640,6 +640,34 @@ public async Task<BillingResponseModel> GetBilling() | |||
return new BillingResponseModel(billingInfo); | |||
} |
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.
Do we still need this now that it's split into two requests? (I believe we're only fetching it from web which is a place that gets released in sync with server.)
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.
While that generally is the case, I feel more comfortable not committing breaking changes to the API at the initial release.
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.
Do we have a tech debt to remove this before the next release?
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.
Created tech debt item and self-assigned for a future release. 👍
Since this is only net-new with no breaking changes, I don't see why not. However, I'm 100% okay with pointing this to an |
…ied PaymentService helpers
Added hold label to ensure we don't merge this before the code freeze elapses. |
|
Type of change
Objective
Code changes
billing-history
andbilling-payment
API endpointsInvoices
andTransactions
Balance
andPaymentSource
GetBillingHistoryAsync
andGetBillingBalanceAndSourceAsync
GetBillingAsync
method by breaking out different properties into functions that can be used independently. Created new methodsGetBillingHistoryAsync
andGetBillingBalanceAndSourceAsync
for grabbing only the necessary information.Testing requirements
Settings -> Subscription
Organization Settings -> Billing
as that will still use theGetBilling
API that's in place (backwards-compat)Before you submit
dotnet tool run dotnet-format --check
) (required)