mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(connector): Stripe revolut pay wallet integration (#8066)
This commit is contained in:
@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user