Billing-System
Billing-System copied to clipboard
Primitive type
Primitive types representing days in Sale class may difficult code maintainability. A class representing a month can be created and the logic moved there to ensure data encapsulation and even move through month types depending on days cardinality. Or even better, use object that already exist to attack the problem. Suggest are to use Replace Data Value with Object refactoring technique.