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:
chikke srujan
2025-07-24 07:35:52 -07:00
committed by GitHub
parent 5c78abd77e
commit 0d9750cd24
36 changed files with 602 additions and 161 deletions

View File

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