alyf-de / banking

An Open Banking Integration with ERPNext
GNU General Public License v3.0
38 stars 18 forks source link

Refactor Kosma classes to be independent of frappe #6

Closed marination closed 1 year ago

marination commented 1 year ago

imagine it had to be a standalone library. The KlarnaKosma* classes should only be responsible for talking to Klarna (not to the database, etc.). This way we can think about one thing at a time and test them independently (e.g. no need to debug the interface in case of framework issues; no need to debug the framework in case of interface issues).