Call multiple connectors (#90)

This commit is contained in:
Narayan Bhat
2022-12-09 22:49:55 +05:30
committed by GitHub
parent 0e105db216
commit 091d5af42a
18 changed files with 153 additions and 151 deletions

View File

@ -7,7 +7,6 @@ mod verfiy_flow;
use async_trait::async_trait;
use super::PaymentData;
use crate::{
core::{errors::RouterResult, payments},
routes::AppState,
@ -35,10 +34,9 @@ pub trait Feature<F, T> {
state: &AppState,
connector: api::ConnectorData,
maybe_customer: &Option<storage::Customer>,
payment_data: PaymentData<F>,
call_connector_action: payments::CallConnectorAction,
storage_scheme: enums::MerchantStorageScheme,
) -> (RouterResult<Self>, PaymentData<F>)
) -> RouterResult<Self>
where
Self: std::marker::Sized,
F: Clone,