I have a set of classes that represent delivery providers, each one of them has a public method called getRates();.
I have a class that loops over all the providers and gets the rates. I am having a hard time of finding what design pattern it is close to, if any.
If there is a better way to do this, opened to suggestions.
Aucun commentaire:
Enregistrer un commentaire