mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
feat(connector): Stripe revolut pay wallet integration (#8066)
This commit is contained in:
@ -96,6 +96,7 @@ pub enum WalletType {
|
||||
Venmo,
|
||||
Mifinity,
|
||||
Paze,
|
||||
RevolutPay,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
|
||||
@ -62,6 +62,7 @@ impl From<enums::WalletType> for global_enums::PaymentMethodType {
|
||||
enums::WalletType::Venmo => Self::Venmo,
|
||||
enums::WalletType::Mifinity => Self::Mifinity,
|
||||
enums::WalletType::Paze => Self::Paze,
|
||||
enums::WalletType::RevolutPay => Self::RevolutPay,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,6 +25,7 @@ impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMet
|
||||
global_enums::PaymentMethodType::GooglePay => Ok(dirval!(WalletType = GooglePay)),
|
||||
global_enums::PaymentMethodType::ApplePay => Ok(dirval!(WalletType = ApplePay)),
|
||||
global_enums::PaymentMethodType::Paypal => Ok(dirval!(WalletType = Paypal)),
|
||||
global_enums::PaymentMethodType::RevolutPay => Ok(dirval!(WalletType = RevolutPay)),
|
||||
global_enums::PaymentMethodType::CryptoCurrency => {
|
||||
Ok(dirval!(CryptoType = CryptoCurrency))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user