mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat: SEPA and BACS bank transfers through stripe (#930)
This commit is contained in:
		 Sangamesh Kulkarni
					Sangamesh Kulkarni
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							53aa5ac92d
						
					
				
				
					commit
					cf000599dd
				
			| @ -159,6 +159,16 @@ impl<Flow, Request, Response> RouterData for types::RouterData<Flow, Request, Re | ||||
|     } | ||||
| } | ||||
|  | ||||
| pub trait PaymentsPreProcessingData { | ||||
|     fn get_email(&self) -> Result<Email, Error>; | ||||
| } | ||||
|  | ||||
| impl PaymentsPreProcessingData for types::PaymentsPreProcessingData { | ||||
|     fn get_email(&self) -> Result<Email, Error> { | ||||
|         self.email.clone().ok_or_else(missing_field_err("email")) | ||||
|     } | ||||
| } | ||||
|  | ||||
| pub trait PaymentsAuthorizeRequestData { | ||||
|     fn is_auto_capture(&self) -> Result<bool, Error>; | ||||
|     fn get_email(&self) -> Result<Email, Error>; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user