mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	refactor(router): make payments core utilities public (#226)
This commit is contained in:
		| @ -297,7 +297,7 @@ pub async fn payments_response_for_redirection_flows<'a>( | |||||||
|  |  | ||||||
| #[allow(clippy::too_many_arguments)] | #[allow(clippy::too_many_arguments)] | ||||||
| #[instrument(skip_all)] | #[instrument(skip_all)] | ||||||
| async fn call_connector_service<F, Op, Req>( | pub async fn call_connector_service<F, Op, Req>( | ||||||
|     state: &AppState, |     state: &AppState, | ||||||
|     merchant_account: &storage::MerchantAccount, |     merchant_account: &storage::MerchantAccount, | ||||||
|     payment_id: &api::PaymentIdType, |     payment_id: &api::PaymentIdType, | ||||||
| @ -363,7 +363,7 @@ where | |||||||
|     Ok(response) |     Ok(response) | ||||||
| } | } | ||||||
|  |  | ||||||
| async fn call_multiple_connectors_service<F, Op, Req>( | pub async fn call_multiple_connectors_service<F, Op, Req>( | ||||||
|     state: &AppState, |     state: &AppState, | ||||||
|     merchant_account: &storage::MerchantAccount, |     merchant_account: &storage::MerchantAccount, | ||||||
|     connectors: Vec<api::ConnectorData>, |     connectors: Vec<api::ConnectorData>, | ||||||
|  | |||||||
| @ -1,9 +1,9 @@ | |||||||
| mod authorize_flow; | pub mod authorize_flow; | ||||||
| mod cancel_flow; | pub mod cancel_flow; | ||||||
| mod capture_flow; | pub mod capture_flow; | ||||||
| mod psync_flow; | pub mod psync_flow; | ||||||
| mod session_flow; | pub mod session_flow; | ||||||
| mod verfiy_flow; | pub mod verfiy_flow; | ||||||
|  |  | ||||||
| use async_trait::async_trait; | use async_trait::async_trait; | ||||||
|  |  | ||||||
|  | |||||||
| @ -1,13 +1,13 @@ | |||||||
| mod payment_cancel; | pub mod payment_cancel; | ||||||
| mod payment_capture; | pub mod payment_capture; | ||||||
| mod payment_confirm; | pub mod payment_confirm; | ||||||
| mod payment_create; | pub mod payment_create; | ||||||
| mod payment_method_validate; | pub mod payment_method_validate; | ||||||
| mod payment_response; | pub mod payment_response; | ||||||
| mod payment_session; | pub mod payment_session; | ||||||
| mod payment_start; | pub mod payment_start; | ||||||
| mod payment_status; | pub mod payment_status; | ||||||
| mod payment_update; | pub mod payment_update; | ||||||
|  |  | ||||||
| use async_trait::async_trait; | use async_trait::async_trait; | ||||||
| use error_stack::{report, ResultExt}; | use error_stack::{report, ResultExt}; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 ItsMeShashank
					ItsMeShashank