Are there any known design patterns for implementing discount models?
By discount models, I mean the following:
- If a customer buys Product X, Product Y and Product Z, they will get 5% off
- If a customer buys Product more than 500Rs, they will get 10% off
Is there a general pattern that can be implemented to handle all of the above scenarios?
Aucun commentaire:
Enregistrer un commentaire