mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
feat(connector): [trustpay] introduce instant bank_transfer, finland and poland (#7925)
Co-authored-by: PiX <69745008+pixincreate@users.noreply.github.com>
This commit is contained in:
@ -219,6 +219,8 @@ pub enum BankTransferType {
|
||||
Pse,
|
||||
LocalBankTransfer,
|
||||
InstantBankTransfer,
|
||||
InstantBankTransferFinland,
|
||||
InstantBankTransferPoland,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
|
||||
@ -125,6 +125,8 @@ impl From<enums::BankTransferType> for global_enums::PaymentMethodType {
|
||||
enums::BankTransferType::PermataBankTransfer => Self::PermataBankTransfer,
|
||||
enums::BankTransferType::LocalBankTransfer => Self::LocalBankTransfer,
|
||||
enums::BankTransferType::InstantBankTransfer => Self::InstantBankTransfer,
|
||||
enums::BankTransferType::InstantBankTransferFinland => Self::InstantBankTransferFinland,
|
||||
enums::BankTransferType::InstantBankTransferPoland => Self::InstantBankTransferPoland,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -159,6 +159,12 @@ impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMet
|
||||
global_enums::PaymentMethodType::InstantBankTransfer => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransfer))
|
||||
}
|
||||
global_enums::PaymentMethodType::InstantBankTransferFinland => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransferFinland))
|
||||
}
|
||||
global_enums::PaymentMethodType::InstantBankTransferPoland => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransferPoland))
|
||||
}
|
||||
global_enums::PaymentMethodType::PermataBankTransfer => {
|
||||
Ok(dirval!(BankTransferType = PermataBankTransfer))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user