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:
Swangi Kumari
2025-06-13 12:03:32 +05:30
committed by GitHub
parent c72d365fde
commit 61c2e2c75f
53 changed files with 600 additions and 141 deletions

View File

@ -1939,6 +1939,8 @@ pub enum PaymentMethodType {
OpenBankingPIS,
DirectCarrierBilling,
InstantBankTransfer,
InstantBankTransferFinland,
InstantBankTransferPoland,
RevolutPay,
}
@ -1997,6 +1999,8 @@ impl PaymentMethodType {
Self::Interac => "Interac",
Self::Indomaret => "Indomaret",
Self::InstantBankTransfer => "Instant Bank Transfer",
Self::InstantBankTransferFinland => "Instant Bank Transfer Finland",
Self::InstantBankTransferPoland => "Instant Bank Transfer Poland",
Self::Klarna => "Klarna",
Self::KakaoPay => "KakaoPay",
Self::LocalBankRedirect => "Local Bank Redirect",

View File

@ -1844,6 +1844,8 @@ impl From<PaymentMethodType> for PaymentMethod {
PaymentMethodType::MandiriVa => Self::BankTransfer,
PaymentMethodType::Interac => Self::BankRedirect,
PaymentMethodType::InstantBankTransfer => Self::BankTransfer,
PaymentMethodType::InstantBankTransferFinland => Self::BankTransfer,
PaymentMethodType::InstantBankTransferPoland => Self::BankTransfer,
PaymentMethodType::Indomaret => Self::Voucher,
PaymentMethodType::OnlineBankingCzechRepublic => Self::BankRedirect,
PaymentMethodType::OnlineBankingFinland => Self::BankRedirect,