mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(router): add apply_three_ds_strategy in payments confirm flow (#8357)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6fd7626c99
commit
786fe699c2
@ -2990,6 +2990,15 @@ pub enum AdditionalPaymentData {
|
||||
},
|
||||
}
|
||||
|
||||
impl AdditionalPaymentData {
|
||||
pub fn get_additional_card_info(&self) -> Option<AdditionalCardInfo> {
|
||||
match self {
|
||||
Self::Card(additional_card_info) => Some(*additional_card_info.clone()),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq, serde::Deserialize, serde::Serialize)]
|
||||
pub struct KlarnaSdkPaymentMethod {
|
||||
pub payment_type: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user