mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	refactor(router): add domain type for merchant_connector_account id (#5685)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
This commit is contained in:
		 Sai Harsha Vardhan
					Sai Harsha Vardhan
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							f33e1bb65c
						
					
				
				
					commit
					771f48cfe0
				
			| @ -173,7 +173,8 @@ pub struct RoutableConnectorChoice { | ||||
|     #[serde(skip)] | ||||
|     pub choice_kind: RoutableChoiceKind, | ||||
|     pub connector: RoutableConnectors, | ||||
|     pub merchant_connector_id: Option<String>, | ||||
|     #[schema(value_type = Option<String>)] | ||||
|     pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, Clone, serde::Deserialize, serde::Serialize, ToSchema)] | ||||
| @ -188,7 +189,7 @@ pub enum RoutableChoiceSerde { | ||||
|     OnlyConnector(Box<RoutableConnectors>), | ||||
|     FullStruct { | ||||
|         connector: RoutableConnectors, | ||||
|         merchant_connector_id: Option<String>, | ||||
|         merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, | ||||
|     }, | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user