Skip to content

Release - 7.3.0#557

Merged
david-ruiz-cko merged 1 commit intomasterfrom
release/7.3.0
Mar 18, 2026
Merged

Release - 7.3.0#557
david-ruiz-cko merged 1 commit intomasterfrom
release/7.3.0

Conversation

@david-ruiz-cko
Copy link
Contributor

This release 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:

  • New client interfaces and implementations have been added for features such as Payment Methods, Apple Pay, Network Tokens, and Standalone Account Updater, making these services directly accessible via the main API. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]

HTTP Client Transport Refactor:

  • The ApacheHttpClientTransport class has been refactored to remove the prepareRequestContent method, 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]
  • Improved handling of different request body types (e.g., JSON, form-encoded, multipart) and automatic setting of appropriate content-type headers.

Dynamic Header Injection:

  • Added a mechanism to extract and set HTTP headers from request objects that implement the new Headers interface, using reflection and SerializedName annotations to map fields to header names.

Dependency Imports:

  • Additional imports for new client classes and utility libraries (such as Headers and SerializedName) 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.

@david-ruiz-cko david-ruiz-cko requested a review from a team March 18, 2026 16:21
@sonarqubecloud
Copy link

@david-ruiz-cko
Copy link
Contributor Author

This release 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:

  • New client interfaces and implementations have been added for features such as Payment Methods, Apple Pay, Network Tokens, and Standalone Account Updater, making these services directly accessible via the main API. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]

HTTP Client Transport Refactor:

  • The ApacheHttpClientTransport class has been refactored to remove the prepareRequestContent method, 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]
  • Improved handling of different request body types (e.g., JSON, form-encoded, multipart) and automatic setting of appropriate content-type headers.

Dynamic Header Injection:

  • Added a mechanism to extract and set HTTP headers from request objects that implement the new Headers interface, using reflection and SerializedName annotations to map fields to header names.

Dependency Imports:

  • Additional imports for new client classes and utility libraries (such as Headers and SerializedName) 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.

@david-ruiz-cko david-ruiz-cko merged commit 2b02a0d into master Mar 18, 2026
6 checks passed
@david-ruiz-cko david-ruiz-cko deleted the release/7.3.0 branch March 18, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants