refactor(connector): [Mifinity] Add dynamic fields for Mifinity Wallet (#4943)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Swangi Kumari
2024-06-11 20:20:31 +05:30
committed by GitHub
parent 7b293ff785
commit a949676f8b
3 changed files with 37 additions and 2 deletions

View File

@ -459,6 +459,7 @@ pub enum FieldType {
UserBank,
Text,
DropDown { options: Vec<String> },
UserDateOfBirth,
}
impl FieldType {
@ -543,6 +544,7 @@ impl PartialEq for FieldType {
options: options_other,
},
) => options_self.eq(options_other),
(Self::UserDateOfBirth, Self::UserDateOfBirth) => true,
_unused => false,
}
}