refactor(core): introduce an interface to switch between old and new connector integration implementations on the connectors (#5013)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Hrithikesh
2024-06-24 15:10:34 +05:30
committed by GitHub
parent b87840595d
commit e658899c14
103 changed files with 2153 additions and 683 deletions

View File

@ -771,8 +771,7 @@ pub async fn add_payment_method_token<F: Clone, T: types::Tokenizable + Clone>(
match tokenization_action {
payments::TokenizationAction::TokenizeInConnector
| payments::TokenizationAction::TokenizeInConnectorAndApplepayPreDecrypt(_) => {
let connector_integration: services::BoxedConnectorIntegration<
'_,
let connector_integration: services::BoxedPaymentConnectorIntegrationInterface<
api::PaymentMethodToken,
types::PaymentMethodTokenizationData,
types::PaymentsResponseData,