-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(merchant_account_v2): remove routing algorithms from merchan…
…t account and add version column (#5527) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com>
- Loading branch information
1 parent
68574b2
commit f1196be
Showing
26 changed files
with
260 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//! Constants that are used in the domain models. | ||
#[cfg(all( | ||
any(feature = "v1", feature = "v2"), | ||
not(feature = "customer_v2"), | ||
not(feature = "merchant_account_v2") | ||
))] | ||
pub const API_VERSION: common_enums::ApiVersion = common_enums::ApiVersion::V1; | ||
|
||
#[cfg(all( | ||
feature = "v2", | ||
any(feature = "customer_v2", feature = "merchant_account_v2") | ||
))] | ||
pub const API_VERSION: common_enums::ApiVersion = common_enums::ApiVersion::V2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.