mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
feat(routing): Integrate global success rates (#6950)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -20,6 +20,7 @@ pub struct DynamicRoutingStatsNew {
|
||||
pub conclusive_classification: common_enums::SuccessBasedRoutingConclusiveState,
|
||||
pub created_at: time::PrimitiveDateTime,
|
||||
pub payment_method_type: Option<common_enums::PaymentMethodType>,
|
||||
pub global_success_based_connector: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Queryable, Selectable, Insertable)]
|
||||
@ -40,4 +41,5 @@ pub struct DynamicRoutingStats {
|
||||
pub conclusive_classification: common_enums::SuccessBasedRoutingConclusiveState,
|
||||
pub created_at: time::PrimitiveDateTime,
|
||||
pub payment_method_type: Option<common_enums::PaymentMethodType>,
|
||||
pub global_success_based_connector: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user