Open
Description
The Booking class is responsible for multiple concerns, including storing booking details, handling business logic, and managing pricing-related data (such as discounts and taxes). This makes the class harder to understand, modify, and extend. It also violates the Single Responsibility Principle (SRP) by bundling different functionalities together instead of delegating them to separate components.
Metadata
Metadata
Assignees
Labels
No labels