mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
feat(connector): [Breadpay]Add support for Breadpay connector (#8676)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-V9P7D4K9V0.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2184,6 +2184,7 @@ pub enum PayLaterData {
|
||||
/// For Alma Redirection as PayLater Option
|
||||
AlmaRedirect {},
|
||||
AtomeRedirect {},
|
||||
BreadpayRedirect {},
|
||||
}
|
||||
|
||||
impl GetAddressFromPaymentMethodData for PayLaterData {
|
||||
@ -2224,7 +2225,8 @@ impl GetAddressFromPaymentMethodData for PayLaterData {
|
||||
| Self::AlmaRedirect {}
|
||||
| Self::KlarnaSdk { .. }
|
||||
| Self::AffirmRedirect {}
|
||||
| Self::AtomeRedirect {} => None,
|
||||
| Self::AtomeRedirect {}
|
||||
| Self::BreadpayRedirect {} => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2694,6 +2696,7 @@ impl GetPaymentMethodType for PayLaterData {
|
||||
Self::WalleyRedirect {} => api_enums::PaymentMethodType::Walley,
|
||||
Self::AlmaRedirect {} => api_enums::PaymentMethodType::Alma,
|
||||
Self::AtomeRedirect {} => api_enums::PaymentMethodType::Atome,
|
||||
Self::BreadpayRedirect {} => api_enums::PaymentMethodType::Breadpay,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user