mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
feat(router): dynamically toggle KV for merchant and refactoring around it (#79)
This commit is contained in:
@ -11,7 +11,10 @@ use crate::{
|
||||
core::{errors::RouterResult, payments},
|
||||
routes::AppState,
|
||||
services,
|
||||
types::{self, api, storage},
|
||||
types::{
|
||||
self, api,
|
||||
storage::{self, enums},
|
||||
},
|
||||
};
|
||||
|
||||
#[async_trait]
|
||||
@ -33,6 +36,7 @@ pub trait Feature<F, T> {
|
||||
maybe_customer: &Option<storage::Customer>,
|
||||
payment_data: PaymentData<F>,
|
||||
call_connector_action: payments::CallConnectorAction,
|
||||
storage_scheme: enums::MerchantStorageScheme,
|
||||
) -> (RouterResult<Self>, PaymentData<F>)
|
||||
where
|
||||
Self: std::marker::Sized,
|
||||
|
||||
Reference in New Issue
Block a user