I am trying to build domain objects based on different products returned back in a web service response. Currently 4 products are being returned but it might grow to be 20 something in the future. I want to use design patterns to make the design flexible and strong. Is there anything out there I can use?
For you Factory Pattern would be good. As i understood the problem based on the output received from web service objectType. you will be creating some new Domains.
Now the type of objects main increase Hence you may have to create new Domains. So Factory pattern would be good.