mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(router): Add attempts_group DB changes for split payments (v2) (#9466)
This commit is contained in:
@ -2904,6 +2904,29 @@ pub enum SplitTxnsEnabled {
|
||||
Skip,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Debug,
|
||||
Copy,
|
||||
Default,
|
||||
Eq,
|
||||
Hash,
|
||||
PartialEq,
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "text")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum ActiveAttemptIDType {
|
||||
AttemptsGroupID,
|
||||
#[default]
|
||||
AttemptID,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Eq, Hash, PartialEq, Debug, Serialize, Deserialize, strum::Display, ToSchema,)]
|
||||
#[rustfmt::skip]
|
||||
pub enum CountryAlpha3 {
|
||||
|
||||
Reference in New Issue
Block a user