mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
fix(connector): [NETCETERA] add sdk-type and default-sdk-type in netcetera authentication request (#7156)
This commit is contained in:
committed by
GitHub
parent
0e9966a54d
commit
64a7afa6d4
@ -6548,6 +6548,23 @@ pub struct SdkInformation {
|
||||
pub sdk_reference_number: String,
|
||||
/// Indicates maximum amount of time in minutes
|
||||
pub sdk_max_timeout: u8,
|
||||
/// Indicates the type of 3DS SDK
|
||||
pub sdk_type: Option<SdkType>,
|
||||
}
|
||||
|
||||
/// Enum representing the type of 3DS SDK.
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, ToSchema)]
|
||||
pub enum SdkType {
|
||||
#[serde(rename = "01")]
|
||||
DefaultSdk,
|
||||
#[serde(rename = "02")]
|
||||
SplitSdk,
|
||||
#[serde(rename = "03")]
|
||||
LimitedSdk,
|
||||
#[serde(rename = "04")]
|
||||
BrowserSdk,
|
||||
#[serde(rename = "05")]
|
||||
ShellSdk,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
|
||||
Reference in New Issue
Block a user