I have a two types of products - Discounted (10% Disc) and NonDiscounted (0%) Each of these can be either LocalProduct / ExportableProduct with export one attracting a 15% sales tax.
What is the best way to model this scenario. Me being absolute newbie to S/W design, I have very limited ideas 1. To have 4 different Product sub types 2. Use Strategy pattern and have 4 different strategies.
Can some one please suggest how can I model this effectively using the above options or other ones.