Skip to content

Refactor: centralize response model creation in Factory#535

Merged
StuartFerguson merged 1 commit intomainfrom
task/#513_todo_complete
Apr 15, 2026
Merged

Refactor: centralize response model creation in Factory#535
StuartFerguson merged 1 commit intomainfrom
task/#513_todo_complete

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Introduce a static Factory class to handle creation of response models from transaction response messages. Refactor TransactionService to use Factory methods, reducing code duplication and improving maintainability. Clean up manual property mapping and remove obsolete code for better organization and clarity.

closes #513

Introduce a static Factory class to handle creation of response models from transaction response messages. Refactor TransactionService to use Factory methods, reducing code duplication and improving maintainability. Clean up manual property mapping and remove obsolete code for better organization and clarity.
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 7 complexity · 0 duplication

Metric Results
Complexity 7
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@StuartFerguson StuartFerguson merged commit 1ced5a1 into main Apr 15, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BestPractice] Complete the task associated to this 'TODO' comment.

1 participant