mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(connector): [EFT] Add EFT as a payment method (#7304)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2639,6 +2639,7 @@ impl GetPaymentMethodType for BankRedirectData {
|
||||
Self::BancontactCard { .. } => api_enums::PaymentMethodType::BancontactCard,
|
||||
Self::Bizum {} => api_enums::PaymentMethodType::Bizum,
|
||||
Self::Blik { .. } => api_enums::PaymentMethodType::Blik,
|
||||
Self::Eft { .. } => api_enums::PaymentMethodType::Eft,
|
||||
Self::Eps { .. } => api_enums::PaymentMethodType::Eps,
|
||||
Self::Giropay { .. } => api_enums::PaymentMethodType::Giropay,
|
||||
Self::Ideal { .. } => api_enums::PaymentMethodType::Ideal,
|
||||
@ -3015,6 +3016,11 @@ pub enum BankRedirectData {
|
||||
issuer: common_enums::BankNames,
|
||||
},
|
||||
LocalBankRedirect {},
|
||||
Eft {
|
||||
/// The preferred eft provider
|
||||
#[schema(example = "ozow")]
|
||||
provider: String,
|
||||
},
|
||||
}
|
||||
|
||||
impl GetAddressFromPaymentMethodData for BankRedirectData {
|
||||
@ -3130,7 +3136,8 @@ impl GetAddressFromPaymentMethodData for BankRedirectData {
|
||||
| Self::OnlineBankingPoland { .. }
|
||||
| Self::OnlineBankingSlovakia { .. }
|
||||
| Self::OnlineBankingCzechRepublic { .. }
|
||||
| Self::Blik { .. } => None,
|
||||
| Self::Blik { .. }
|
||||
| Self::Eft { .. } => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user