Skip to content

Release - 7.1.0#552

Open
david-ruiz-cko wants to merge 1 commit intomasterfrom
release/7.1.0
Open

Release - 7.1.0#552
david-ruiz-cko wants to merge 1 commit intomasterfrom
release/7.1.0

Conversation

@david-ruiz-cko
Copy link
Contributor

This release introduces improved handling of request serialization and adds support for new identity-related API clients. The most significant update is the refactoring of the transport layer to support both JSON and form-encoded requests, making it more flexible for different content types. Additionally, several new clients for identity verification and screening have been integrated into the main API interface.

Transport layer improvements

  • Refactored ApacheHttpClientTransport to accept an Object as the request payload, allowing both JSON and UrlEncodedFormEntity form-encoded requests. Added logic to serialize objects to JSON or pass form entities directly, and set the appropriate Content-Type header. (src/main/java/com/checkout/ApacheHttpClientTransport.java) [1] [2] [3]
  • Updated ApiClientImpl methods to pass raw request objects to the transport layer instead of pre-serializing them, aligning with the new transport interface. (src/main/java/com/checkout/ApiClientImpl.java) [1] [2] [3] [4]

Identity API client integration

  • Added new identity-related clients (FaceAuthenticationClient, ApplicantClient, IdentityVerificationClient, IdDocumentVerificationClient, AmlScreeningClient) to CheckoutApi and CheckoutApiImpl, including their instantiation and interface methods. (src/main/java/com/checkout/CheckoutApi.java, src/main/java/com/checkout/CheckoutApiImpl.java) [1] [2] [3] [4] [5] [6]

Supporting changes

  • Updated imports in GsonSerializer.java to support form-encoded serialization, including UrlEncodedFormEntity and related classes. (src/main/java/com/checkout/GsonSerializer.java) [1] [2]

These changes enhance the SDK's flexibility for handling different request types and expand its functionality for identity verification workflows.

@sonarqubecloud
Copy link

@david-ruiz-cko david-ruiz-cko requested a review from a team March 11, 2026 16:45
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.

1 participant