hyperswitch
hyperswitch copied to clipboard
refactor(adyen): use enums instead of strings for statuses
Fixes #262
Type of Change
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
Description
Used enums instead of strings for statuses for Adyen.
Motivation and Context
How did you test it?
Checklist
- [x] I formatted the code
cargo +nightly fmt
- [x] I addressed lints thrown by
cargo clippy
- [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible
- [ ] I added a CHANGELOG entry if applicable