refactor(core): Adapt the usage of routing_algorithm_id in routing and payments core for v2 (#5533)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Amisha Prabhat
2024-08-12 14:56:51 +05:30
committed by GitHub
parent 6a5b49397a
commit 61de3e025a
21 changed files with 897 additions and 435 deletions

View File

@ -58,8 +58,6 @@ pub struct ProfileDefaultRoutingConfig {
pub struct RoutingRetrieveQuery {
pub limit: Option<u16>,
pub offset: Option<u8>,
pub profile_id: Option<String>,
}
#[derive(Debug, serde::Deserialize, serde::Serialize)]
@ -67,6 +65,11 @@ pub struct RoutingRetrieveLinkQuery {
pub profile_id: Option<String>,
}
#[derive(Debug, serde::Deserialize, serde::Serialize)]
pub struct RoutingRetrieveLinkQueryWrapper {
pub routing_query: RoutingRetrieveQuery,
pub profile_id: String,
}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
/// Response of the retrieved routing configs for a merchant account
pub struct RoutingRetrieveResponse {