Skip to content
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

Remove incorrect child service methods #2981

Conversation

jar-stripe
Copy link
Contributor

@jar-stripe jar-stripe commented Sep 30, 2024

Why?

In the upcoming release, we are splitting child service methods from services like Checkout/Sessions/SessionService to more descriptive, self contained services e.g. SessionLineItemService. We are maintaining the old methods (now marked obsolete) for backwards compatibility purposes, but there were other methods that were also added to the parent service that we need to remove. This PR removes those methods and also restores the UpdateLines and UpdateLinesAsync methods to InvoiceService.

What?

  • removes List methods that return LineItem objects from Checkout/Sessions/SessionService
  • removes List methods that return InvoiceLineItem objects from InvoiceService
  • added UpdateLine and UpdateLineAsync to InvoiceLineItem.partial.cs for backwards compatibility
  • updates to comments in v2 event files

…rvice and Invoices/InvoiceService

added missing Update methods to InvoiceService.partial.cs

updated comments in v2 event files
@jar-stripe jar-stripe changed the base branch from master to sdk-release/next-major September 30, 2024 18:47
@jar-stripe jar-stripe marked this pull request as ready for review September 30, 2024 18:49
@jar-stripe jar-stripe merged commit fb9a406 into sdk-release/next-major Sep 30, 2024
3 of 4 checks passed
@jar-stripe jar-stripe deleted the jar/dotnet-remove-inline-nested-child-services-special-case branch September 30, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants