mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(router): add three_ds decision rule execute api (#8148)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2c35639763
commit
e90a95de6f
@ -46,6 +46,14 @@ pub struct ThreeDSDecisionRule {
|
||||
/// The decided 3DS action based on the rules
|
||||
pub decision: ThreeDSDecision,
|
||||
}
|
||||
|
||||
impl ThreeDSDecisionRule {
|
||||
/// Returns the decision
|
||||
pub fn get_decision(&self) -> ThreeDSDecision {
|
||||
self.decision
|
||||
}
|
||||
}
|
||||
|
||||
impl_to_sql_from_sql_json!(ThreeDSDecisionRule);
|
||||
|
||||
impl EuclidDirFilter for ThreeDSDecisionRule {
|
||||
|
||||
Reference in New Issue
Block a user