You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tax Rates and Rules: Tax rates and rules are currently hardcoded within the application code. For better maintainability and flexibility, these should ideally be moved to a configuration file or a database.
State Codes: Similar to tax rates, state codes are also hardcoded in the application. It is recommended to store these codes in a database to facilitate easier updates and management.
Discount Strategy: The implementation uses a strategy pattern to apply various discounts, with hardcoded tax rates. There is potential to enhance this logic for greater flexibility and adaptability.
Product Classification: The classification of luxury items is handled within the Product entity. This approach should be reviewed to ensure it meets business requirements effectively.
Coupons and Promotions: The system allows for the combination of coupons and promotions when applying discounts to an order. This logic should be thoroughly tested to ensure accuracy and fairness.