I am wanting to build a generic middleware software for my company that can access various vendors API's to pull out orders and then import then into our ERP through its API.
I want to make this as generic as possible whereby in theory, to connect another vendor, I just have to build out their implementation to conform to the common interface and perhaps through reflection or something, dynamically load that library.
I was told this pattern is called the Adapter pattern, however from reading other posts, the Adapter pattern is to adapt a previously built class to conform to your Interface (and possibly code that you can't modify).
What is the name of this pattern? Is it the provider pattern or the adapter pattern? I want to put these in their own classes but I'm not sure what to name these.~