Skip to content

LEM generate services and models#1217

Merged
gcatanese merged 3 commits intomainfrom
generate-lem-jan-2026
Jan 9, 2026
Merged

LEM generate services and models#1217
gcatanese merged 3 commits intomainfrom
generate-lem-jan-2026

Conversation

@gcatanese
Copy link
Contributor

@gcatanese gcatanese commented Jan 5, 2026

Generate LEM source code from latest spec

Add test for new endpoint /requestPeriodicReview

LEM

  • Add support for Request periodic data review endpoint
  • In FinancialReport the attribute DateOfFinancialData is now optional
  • In Financier the attributes amount, firstName, lastName, location are now optional

@gcatanese gcatanese requested review from a team as code owners January 5, 2026 15:57
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@gcatanese gcatanese requested a review from Copilot January 5, 2026 16:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Legal Entity Management (LEM) SDK by generating source code from the latest API specification and adds test coverage for the new /requestPeriodicReview endpoint.

Key Changes:

  • Added RequestPeriodicReview and RequestPeriodicReviewAsync methods to the LegalEntitiesService for triggering periodic data reviews
  • Updated model field requirements, making several Financier fields and FinancialReport.DateOfFinancialData optional instead of required
  • Enhanced documentation strings to clarify requirements and add French language support

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Adyen/Service/LegalEntityManagement/LegalEntitiesService.cs Added new methods for requesting periodic reviews and changed _baseUrl field visibility
Adyen/Model/LegalEntityManagement/Support.cs Updated documentation to clarify email field requirement for platform setups
Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs Added French language support documentation
Adyen/Model/LegalEntityManagement/Financier.cs Changed field requirements from required to optional
Adyen/Model/LegalEntityManagement/FinancialReport.cs Made DateOfFinancialData optional and removed constructor requirement
Adyen.Test/LegalEntityManagementTest.cs Added test for new RequestPeriodicReview endpoint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gcatanese gcatanese requested a review from galesky-a January 5, 2026 16:11
@gcatanese gcatanese merged commit b4496a0 into main Jan 9, 2026
4 checks passed
@gcatanese gcatanese deleted the generate-lem-jan-2026 branch January 9, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants