feat(connector): Integrate PAZE Wallet (#6030)

This commit is contained in:
DEEPANSHU BANSAL
2024-10-08 18:47:59 +05:30
committed by GitHub
parent 86a43b9bc4
commit 535f2f12f8
67 changed files with 836 additions and 84 deletions

View File

@ -91,6 +91,7 @@ pub enum WalletType {
Cashapp,
Venmo,
Mifinity,
Paze,
}
#[derive(

View File

@ -58,6 +58,7 @@ impl From<enums::WalletType> for global_enums::PaymentMethodType {
enums::WalletType::Cashapp => Self::Cashapp,
enums::WalletType::Venmo => Self::Venmo,
enums::WalletType::Mifinity => Self::Mifinity,
enums::WalletType::Paze => Self::Paze,
}
}
}

View File

@ -188,6 +188,7 @@ impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMet
global_enums::PaymentMethodType::OpenBankingPIS => {
Ok(dirval!(OpenBankingType = OpenBankingPIS))
}
global_enums::PaymentMethodType::Paze => Ok(dirval!(WalletType = Paze)),
}
}
}