Feature/int 1600 - New Java modules#554
Merged
david-ruiz-cko merged 19 commits intomasterfrom Mar 18, 2026
Merged
Conversation
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
armando-rodriguez-cko
previously approved these changes
Mar 18, 2026
ebc17fa to
c15c399
Compare
- Extended module AccountClient with reserve rule endpoints - urlencoded form and other request bodies support - Etag management (if-match) - UpdatePaymentInstrumentRequest header management change
…nd integration tests
- New paymentsmethods client with the new endpoint + unit and integration tests
198bf7f to
bd49432
Compare
|
armando-rodriguez-cko
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This pull request introduces several enhancements and refactors to the Checkout API Java client. The main changes include expanding the API with new client interfaces for additional payment and account features, and refactoring the HTTP client transport to improve request handling, particularly for headers and content types.
API Expansion:
HTTP Client Transport Refactor:
ApacheHttpClientTransportclass has been refactored to remove theprepareRequestContentmethod, simplifying how request bodies are handled and serialized. Now, the request object is passed directly, and serialization or entity creation occurs closer to the HTTP call. [1] [2] [3] [4] [5] [6]Dynamic Header Injection:
Headersinterface, using reflection andSerializedNameannotations to map fields to header names.Dependency Imports:
HeadersandSerializedName) have been added to support the above changes. [1] [2] [3]These changes collectively improve the extensibility, maintainability, and usability of the Checkout API client, making it easier to add new features and handle advanced request scenarios.