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

@ -2685,6 +2685,7 @@ impl GetPaymentMethodType for WalletData {
Self::CashappQr(_) => api_enums::PaymentMethodType::Cashapp,
Self::SwishQr(_) => api_enums::PaymentMethodType::Swish,
Self::Mifinity(_) => api_enums::PaymentMethodType::Mifinity,
Self::RevolutPay(_) => api_enums::PaymentMethodType::RevolutPay,
}
}
}
@ -3609,6 +3610,8 @@ pub enum WalletData {
SwishQr(SwishQrData),
// The wallet data for Mifinity Ewallet
Mifinity(MifinityData),
// The wallet data for RevolutPay
RevolutPay(RevolutPayData),
}
impl GetAddressFromPaymentMethodData for WalletData {
@ -3660,7 +3663,8 @@ impl GetAddressFromPaymentMethodData for WalletData {
| Self::WeChatPayRedirect(_)
| Self::WeChatPayQr(_)
| Self::CashappQr(_)
| Self::SwishQr(_) => None,
| Self::SwishQr(_)
| Self::RevolutPay(_) => None,
}
}
}
@ -3895,6 +3899,9 @@ pub struct TouchNGoRedirection {}
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct SwishQrData {}
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct RevolutPayData {}
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct MifinityData {
#[schema(value_type = Date)]