Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

681 B
Raw Blame
use common_utils::events::{ApiEventMetric, ApiEventsType};

use crate::process_tracker::revenue_recovery::{
    RevenueRecoveryId, RevenueRecoveryResponse, RevenueRecoveryRetriggerRequest,
};

impl ApiEventMetric for RevenueRecoveryResponse {
    fn get_api_event_type(&self) -> Option<ApiEventsType> {
        Some(ApiEventsType::ProcessTracker)
    }
}
impl ApiEventMetric for RevenueRecoveryId {
    fn get_api_event_type(&self) -> Option<ApiEventsType> {
        Some(ApiEventsType::ProcessTracker)
    }
}
impl ApiEventMetric for RevenueRecoveryRetriggerRequest {
    fn get_api_event_type(&self) -> Option<ApiEventsType> {
        Some(ApiEventsType::ProcessTracker)
    }
}