mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	feat(connector): [TRUSTPAY] implement Banktransfer PaymentMethod (#7575)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -334,7 +334,10 @@ impl Connector { | ||||
|                 | (Self::Moneris, _) | ||||
|                 | (Self::Paypal, _) | ||||
|                 | (Self::Payu, _) | ||||
|                 | (Self::Trustpay, PaymentMethod::BankRedirect) | ||||
|                 | ( | ||||
|                     Self::Trustpay, | ||||
|                     PaymentMethod::BankRedirect | PaymentMethod::BankTransfer | ||||
|                 ) | ||||
|                 | (Self::Iatapay, _) | ||||
|                 | (Self::Volt, _) | ||||
|                 | (Self::Itaubank, _) | ||||
|  | ||||
| @ -1810,6 +1810,7 @@ pub enum PaymentMethodType { | ||||
|     RedPagos, | ||||
|     SamsungPay, | ||||
|     Sepa, | ||||
|     SepaBankTransfer, | ||||
|     Sofort, | ||||
|     Swish, | ||||
|     TouchNGo, | ||||
| @ -1833,6 +1834,7 @@ pub enum PaymentMethodType { | ||||
|     #[serde(rename = "open_banking_pis")] | ||||
|     OpenBankingPIS, | ||||
|     DirectCarrierBilling, | ||||
|     InstantBankTransfer, | ||||
| } | ||||
|  | ||||
| impl PaymentMethodType { | ||||
|  | ||||
| @ -1841,6 +1841,7 @@ impl From<PaymentMethodType> for PaymentMethod { | ||||
|             PaymentMethodType::Multibanco => Self::BankTransfer, | ||||
|             PaymentMethodType::MandiriVa => Self::BankTransfer, | ||||
|             PaymentMethodType::Interac => Self::BankRedirect, | ||||
|             PaymentMethodType::InstantBankTransfer => Self::BankTransfer, | ||||
|             PaymentMethodType::Indomaret => Self::Voucher, | ||||
|             PaymentMethodType::OnlineBankingCzechRepublic => Self::BankRedirect, | ||||
|             PaymentMethodType::OnlineBankingFinland => Self::BankRedirect, | ||||
| @ -1860,6 +1861,7 @@ impl From<PaymentMethodType> for PaymentMethod { | ||||
|             PaymentMethodType::PromptPay => Self::RealTimePayment, | ||||
|             PaymentMethodType::SamsungPay => Self::Wallet, | ||||
|             PaymentMethodType::Sepa => Self::BankDebit, | ||||
|             PaymentMethodType::SepaBankTransfer => Self::BankTransfer, | ||||
|             PaymentMethodType::Sofort => Self::BankRedirect, | ||||
|             PaymentMethodType::Swish => Self::BankRedirect, | ||||
|             PaymentMethodType::Trustly => Self::BankRedirect, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Swangi Kumari
					Swangi Kumari