mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	feat(connector): [GETNET] add Connector Template Code (#7105)
This commit is contained in:
		 sweta-kumari-sharma
					sweta-kumari-sharma
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							90ea0764ae
						
					
				
				
					commit
					60310b485d
				
			| @ -35,8 +35,8 @@ pub use hyperswitch_connectors::connectors::{ | ||||
|     datatrans::Datatrans, deutschebank, deutschebank::Deutschebank, digitalvirgo, | ||||
|     digitalvirgo::Digitalvirgo, dlocal, dlocal::Dlocal, elavon, elavon::Elavon, fiserv, | ||||
|     fiserv::Fiserv, fiservemea, fiservemea::Fiservemea, fiuu, fiuu::Fiuu, forte, forte::Forte, | ||||
|     globalpay, globalpay::Globalpay, globepay, globepay::Globepay, gocardless, | ||||
|     gocardless::Gocardless, helcim, helcim::Helcim, iatapay, iatapay::Iatapay, inespay, | ||||
|     getnet, getnet::Getnet, globalpay, globalpay::Globalpay, globepay, globepay::Globepay, | ||||
|     gocardless, gocardless::Gocardless, helcim, helcim::Helcim, iatapay, iatapay::Iatapay, inespay, | ||||
|     inespay::Inespay, itaubank, itaubank::Itaubank, jpmorgan, jpmorgan::Jpmorgan, klarna, | ||||
|     klarna::Klarna, mifinity, mifinity::Mifinity, mollie, mollie::Mollie, multisafepay, | ||||
|     multisafepay::Multisafepay, nexinets, nexinets::Nexinets, nexixpay, nexixpay::Nexixpay, | ||||
|  | ||||
| @ -1370,6 +1370,10 @@ impl ConnectorAuthTypeAndMetadataValidation<'_> { | ||||
|                 forte::transformers::ForteAuthType::try_from(self.auth_type)?; | ||||
|                 Ok(()) | ||||
|             } | ||||
|             // api_enums::Connector::Getnet => { | ||||
|             //     getnet::transformers::GetnetAuthType::try_from(self.auth_type)?; | ||||
|             //     Ok(()) | ||||
|             // } | ||||
|             api_enums::Connector::Globalpay => { | ||||
|                 globalpay::transformers::GlobalpayAuthType::try_from(self.auth_type)?; | ||||
|                 Ok(()) | ||||
|  | ||||
| @ -1002,6 +1002,7 @@ default_imp_for_new_connector_integration_payouts!( | ||||
|     connector::Fiservemea, | ||||
|     connector::Fiuu, | ||||
|     connector::Forte, | ||||
|     connector::Getnet, | ||||
|     connector::Globalpay, | ||||
|     connector::Globepay, | ||||
|     connector::Gpayments, | ||||
| @ -1466,6 +1467,7 @@ default_imp_for_new_connector_integration_frm!( | ||||
|     connector::Fiservemea, | ||||
|     connector::Forte, | ||||
|     connector::Fiuu, | ||||
|     connector::Getnet, | ||||
|     connector::Globalpay, | ||||
|     connector::Globepay, | ||||
|     connector::Gpayments, | ||||
| @ -1839,6 +1841,7 @@ default_imp_for_new_connector_integration_connector_authentication!( | ||||
|     connector::Fiservemea, | ||||
|     connector::Forte, | ||||
|     connector::Fiuu, | ||||
|     connector::Getnet, | ||||
|     connector::Globalpay, | ||||
|     connector::Globepay, | ||||
|     connector::Gocardless, | ||||
|  | ||||
| @ -422,6 +422,7 @@ default_imp_for_connector_request_id!( | ||||
|     connector::Fiservemea, | ||||
|     connector::Fiuu, | ||||
|     connector::Forte, | ||||
|     connector::Getnet, | ||||
|     connector::Globalpay, | ||||
|     connector::Globepay, | ||||
|     connector::Gocardless, | ||||
| @ -1379,6 +1380,7 @@ default_imp_for_fraud_check!( | ||||
|     connector::Fiservemea, | ||||
|     connector::Fiuu, | ||||
|     connector::Forte, | ||||
|     connector::Getnet, | ||||
|     connector::Globalpay, | ||||
|     connector::Globepay, | ||||
|     connector::Gocardless, | ||||
| @ -1914,6 +1916,7 @@ default_imp_for_connector_authentication!( | ||||
|     connector::Fiservemea, | ||||
|     connector::Fiuu, | ||||
|     connector::Forte, | ||||
|     connector::Getnet, | ||||
|     connector::Globalpay, | ||||
|     connector::Globepay, | ||||
|     connector::Gocardless, | ||||
|  | ||||
| @ -430,6 +430,9 @@ impl ConnectorData { | ||||
|                 enums::Connector::Forte => { | ||||
|                     Ok(ConnectorEnum::Old(Box::new(connector::Forte::new()))) | ||||
|                 } | ||||
|                 // enums::Connector::Getnet => { | ||||
|                 //     Ok(ConnectorEnum::Old(Box::new(connector::Getnet::new()))) | ||||
|                 // } | ||||
|                 enums::Connector::Globalpay => { | ||||
|                     Ok(ConnectorEnum::Old(Box::new(connector::Globalpay::new()))) | ||||
|                 } | ||||
|  | ||||
| @ -246,6 +246,7 @@ impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors { | ||||
|             api_enums::Connector::Fiservemea => Self::Fiservemea, | ||||
|             api_enums::Connector::Fiuu => Self::Fiuu, | ||||
|             api_enums::Connector::Forte => Self::Forte, | ||||
|             // api_enums::Connector::Getnet => Self::Getnet, | ||||
|             api_enums::Connector::Globalpay => Self::Globalpay, | ||||
|             api_enums::Connector::Globepay => Self::Globepay, | ||||
|             api_enums::Connector::Gocardless => Self::Gocardless, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user