Skip to content

feat: add ForwardClient and related models for forward requests#182

Merged
armando-rodriguez-cko merged 1 commit intomainfrom
feature/add-forward-endpoints
Jun 23, 2025
Merged

feat: add ForwardClient and related models for forward requests#182
armando-rodriguez-cko merged 1 commit intomainfrom
feature/add-forward-endpoints

Conversation

@armando-rodriguez-cko
Copy link
Contributor

This pull request introduces a new feature to the SDK: the ForwardClient, which adds functionality for forwarding requests to external destinations. The changes include the addition of new classes and methods to support this feature, as well as corresponding unit and integration tests.

New Feature: ForwardClient

Core SDK Updates:

  • checkout_sdk/checkout_api.py: Added the ForwardClient import and initialized it as a new client within the SDK's main API class. This enables users to access the forwarding functionality. [1] [2]
  • checkout_sdk/forward/forward.py: Introduced multiple classes (SourceType, AbstractSource, IdSource, TokenSource, SignatureType, AbstractSignature, DlocalSignature, DestinationRequest, ForwardRequest, etc.) to define the structure of forwarding requests, including source types, destination details, and signature configurations.
  • checkout_sdk/forward/forward_client.py: Added the ForwardClient class with methods forward_request for creating forwarding requests and get for retrieving request details by ID.

Testing:

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team June 23, 2025 14:47
@armando-rodriguez-cko armando-rodriguez-cko force-pushed the feature/add-forward-endpoints branch from fe5f2df to a858c34 Compare June 23, 2025 14:51
@sonarqubecloud
Copy link

@armando-rodriguez-cko armando-rodriguez-cko merged commit b7d30d8 into main Jun 23, 2025
6 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/add-forward-endpoints branch June 23, 2025 15:14
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