mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): add routing support for token-based mit payments (#4012)
This commit is contained in:
@ -36,12 +36,11 @@ use crate::{core::errors, services::api as service_api, types::storage};
|
||||
#[cfg(feature = "business_profile_routing")]
|
||||
use crate::{errors, services::api as service_api};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum TransactionData<'a, F>
|
||||
where
|
||||
F: Clone,
|
||||
{
|
||||
Payment(&'a payments::PaymentData<F>),
|
||||
Payment(&'a mut payments::PaymentData<F>),
|
||||
#[cfg(feature = "payouts")]
|
||||
Payout(&'a payouts::PayoutData),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user