mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
feat(analytics): Add v2 payment analytics (payment-intents analytics) (#5150)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -38,6 +38,24 @@ use crate::{
|
||||
|
||||
impl ApiEventMetric for TimeRange {}
|
||||
|
||||
impl ApiEventMetric for GetPaymentIntentFiltersRequest {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Analytics)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for GetPaymentIntentMetricRequest {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Analytics)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for PaymentIntentFiltersResponse {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Analytics)
|
||||
}
|
||||
}
|
||||
|
||||
impl_misc_api_event_type!(
|
||||
PaymentMethodId,
|
||||
PaymentsSessionResponse,
|
||||
|
||||
Reference in New Issue
Block a user