hyperswitch
9797c50f - Refactor UCS Executors and Introduce Macro for Simplification

Commit
105 days ago
Refactor UCS Executors and Introduce Macro for Simplification - Introduced a macro `define_ucs_executor!` to streamline the creation of UCS executors, reducing boilerplate code. - Updated `AuthorizeUcsExecutor`, `RepeatUcsExecutor`, `PSyncUcsExecutor`, and `SetupMandateUcsExecutor` to utilize the new macro. - Enhanced the `authorize.rs`, `psync.rs`, `setup_mandate.rs`, and `ucs_executors.rs` files for better organization and maintainability. - Removed redundant code and comments to improve clarity and focus on the new structure. - Implemented logic to handle payment authorization and mandate setup flows more efficiently.
Author
Parents
Loading