mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
20 lines
569 B
Rust
20 lines
569 B
Rust
//! Constants that are used in the domain models.
|
|
|
|
#[cfg(all(
|
|
any(feature = "v1", feature = "v2"),
|
|
not(feature = "customer_v2"),
|
|
not(feature = "merchant_account_v2"),
|
|
not(feature = "merchant_connector_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",
|
|
feature = "merchant_connector_account_v2"
|
|
)
|
|
))]
|
|
pub const API_VERSION: common_enums::ApiVersion = common_enums::ApiVersion::V2;
|