mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	feat(router): add profile id and extra filters in lists (#2379)
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| use api_models::enums::{Connector, PaymentMethod}; | ||||
| use api_models::enums::{AuthenticationType, Connector, PaymentMethod, PaymentMethodType}; | ||||
| use common_utils::errors::CustomResult; | ||||
| use data_models::{ | ||||
|     errors::StorageError, | ||||
| @ -39,7 +39,9 @@ impl PaymentAttemptInterface for MockDb { | ||||
|         _merchant_id: &str, | ||||
|         _active_attempt_ids: &[String], | ||||
|         _connector: Option<Vec<Connector>>, | ||||
|         _payment_methods: Option<Vec<PaymentMethod>>, | ||||
|         _payment_method: Option<Vec<PaymentMethod>>, | ||||
|         _payment_method_type: Option<Vec<PaymentMethodType>>, | ||||
|         _authentication_type: Option<Vec<AuthenticationType>>, | ||||
|         _storage_scheme: MerchantStorageScheme, | ||||
|     ) -> CustomResult<i64, StorageError> { | ||||
|         Err(StorageError::MockDbError)? | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Apoorv Dixit
					Apoorv Dixit