mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(core): Add support for process tracker retrieve api in v2 (#7602)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										21
									
								
								crates/api_models/src/process_tracker/revenue_recovery.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								crates/api_models/src/process_tracker/revenue_recovery.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| use common_utils::id_type; | ||||
| use serde::{Deserialize, Serialize}; | ||||
| use time::PrimitiveDateTime; | ||||
| use utoipa::ToSchema; | ||||
|  | ||||
| use crate::enums; | ||||
| #[derive(Debug, Clone, Serialize, Deserialize, ToSchema)] | ||||
| pub struct RevenueRecoveryResponse { | ||||
|     pub id: String, | ||||
|     pub name: Option<String>, | ||||
|     pub schedule_time_for_payment: Option<PrimitiveDateTime>, | ||||
|     pub schedule_time_for_psync: Option<PrimitiveDateTime>, | ||||
|     #[schema(value_type = ProcessTrackerStatus, example = "finish")] | ||||
|     pub status: enums::ProcessTrackerStatus, | ||||
|     pub business_status: String, | ||||
| } | ||||
|  | ||||
| #[derive(Debug, Clone, Serialize, Deserialize, ToSchema)] | ||||
| pub struct RevenueRecoveryId { | ||||
|     pub revenue_recovery_id: id_type::GlobalPaymentId, | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Amisha Prabhat
					Amisha Prabhat