Using project in CPO role
Opened this issue · 0 comments
mrbig commented
Hello,
thank you for this great implementation.
I'm considering using this in my project, but I need to implement a CPO. As I see currently the class hierarchy is built with an eMSP in mind. While the models are shared, the requests/responses are somewhat representing the other side of the table.
Do you have any suggestions how should I proceed with this?
For example there is now a \Chargemap\OCPI\Versions\V2_1_1\Client\Locations\Get\GetLocationRequest available, wich theoretically is the same request a CPO would receive. Would you rather
- use this as-is in a CPO endpoint
- move it to a \Chargemap\OCPI\Versions\V2_1_1\CPO\Locations locations namespace
- or create a very similar request class there?