mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(connector): [Itaubank] add dynamic fields for pix (#5419)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -476,6 +476,9 @@ pub enum FieldType {
|
||||
UserDateOfBirth,
|
||||
UserVpaId,
|
||||
LanguagePreference { options: Vec<String> },
|
||||
UserPixKey,
|
||||
UserCpf,
|
||||
UserCnpj,
|
||||
}
|
||||
|
||||
impl FieldType {
|
||||
@ -562,6 +565,9 @@ impl PartialEq for FieldType {
|
||||
) => options_self.eq(options_other),
|
||||
(Self::UserDateOfBirth, Self::UserDateOfBirth) => true,
|
||||
(Self::UserVpaId, Self::UserVpaId) => true,
|
||||
(Self::UserPixKey, Self::UserPixKey) => true,
|
||||
(Self::UserCpf, Self::UserCpf) => true,
|
||||
(Self::UserCnpj, Self::UserCnpj) => true,
|
||||
(Self::LanguagePreference { .. }, Self::LanguagePreference { .. }) => true,
|
||||
_unused => false,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user