Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 415 Bytes

File metadata and controls

18 lines (9 loc) · 415 Bytes

Refactoring Decisions


To improve testability and design quality, the following changes were made:

External dependencies were extracted into interfaces:

PaymentApi — handles payment processing

DatabaseConnection — handles database persistence

EmailService — handles notification sending


PaymentProcessor now only coordinates payment logic and does not handle infrastructure details.