mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +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:
@ -124,6 +124,12 @@ fn get_dir_value_payment_method(
|
||||
api_enums::PaymentMethodType::InstantBankTransfer => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransfer))
|
||||
}
|
||||
api_enums::PaymentMethodType::InstantBankTransferFinland => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransferFinland))
|
||||
}
|
||||
api_enums::PaymentMethodType::InstantBankTransferPoland => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransferPoland))
|
||||
}
|
||||
api_enums::PaymentMethodType::SepaBankTransfer => {
|
||||
Ok(dirval!(BankTransferType = SepaBankTransfer))
|
||||
}
|
||||
|
||||
@ -274,6 +274,12 @@ impl IntoDirValue for (api_enums::PaymentMethodType, api_enums::PaymentMethod) {
|
||||
api_enums::PaymentMethodType::InstantBankTransfer => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransfer))
|
||||
}
|
||||
api_enums::PaymentMethodType::InstantBankTransferFinland => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransferFinland))
|
||||
}
|
||||
api_enums::PaymentMethodType::InstantBankTransferPoland => {
|
||||
Ok(dirval!(BankTransferType = InstantBankTransferPoland))
|
||||
}
|
||||
api_enums::PaymentMethodType::PermataBankTransfer => {
|
||||
Ok(dirval!(BankTransferType = PermataBankTransfer))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user