mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat: connector tokenization flow (#750)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ccf032732e
commit
29da1dfa50
@ -54,6 +54,20 @@ pub trait Feature<F, T> {
|
||||
F: Clone,
|
||||
Self: Sized,
|
||||
dyn api::Connector: services::ConnectorIntegration<F, T, types::PaymentsResponseData>;
|
||||
|
||||
async fn add_payment_method_token<'a>(
|
||||
&self,
|
||||
_state: &AppState,
|
||||
_connector: &api::ConnectorData,
|
||||
_tokenization_action: &payments::TokenizationAction,
|
||||
) -> RouterResult<Option<String>>
|
||||
where
|
||||
F: Clone,
|
||||
Self: Sized,
|
||||
dyn api::Connector: services::ConnectorIntegration<F, T, types::PaymentsResponseData>,
|
||||
{
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! default_imp_for_complete_authorize{
|
||||
|
||||
Reference in New Issue
Block a user