mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat: implement FRM flows (#2968)
Co-authored-by: Kashif <kashif@protonmail.com> Co-authored-by: AkshayaFoiger <131388445+AkshayaFoiger@users.noreply.github.com> Co-authored-by: Kashif <mohammed.kashif@juspay.in>
This commit is contained in:
@ -178,6 +178,36 @@ impl From<PayoutConnectors> for RoutableConnectors {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "frm")]
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Eq,
|
||||
Hash,
|
||||
PartialEq,
|
||||
serde::Serialize,
|
||||
serde::Deserialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum FrmConnectors {
|
||||
/// Signifyd Risk Manager. Official docs: https://docs.signifyd.com/
|
||||
Signifyd,
|
||||
}
|
||||
|
||||
#[cfg(feature = "frm")]
|
||||
impl From<FrmConnectors> for RoutableConnectors {
|
||||
fn from(value: FrmConnectors) -> Self {
|
||||
match value {
|
||||
FrmConnectors::Signifyd => Self::Signifyd,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
|
||||
Reference in New Issue
Block a user