feat(connector): Stripe revolut pay wallet integration (#8066)

This commit is contained in:
Nithin N
2025-05-27 12:07:44 +05:30
committed by GitHub
parent 2432133a28
commit b3d47b650d
52 changed files with 165 additions and 42 deletions

View File

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

View File

@ -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,
}
}
}

View File

@ -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))
}