Define an API for contrib modules

Project: 
uc_directdebit
Category: 
bug report
Priority: 
normal
Status: 
active

To interface with banks there must be an API to talk to.

uc_directdebit just handles order states and statuses. The collected data is probably country/bank specific. So the API should interface with that module.

As an example the clieop modules needs to proces all pending directdebit lines into one big file which gets uploaded to the shop owners bank account. The data collected should contain the customers name registered at their bank. So clieop module should be able to hand over these data values to collect.

uc_directdebit should show all these fields while processing the cart/order.