Fetch history from Gateway
Implementing repository pattern with interface.
-
- Store finished transfers in table history
-
- Store all scheduled transfers and errors in table transfer_log
The flow of interaction should be :
- generic params for REST request (e.g. minDate, maxDate) => parameters depending of the implementation (here Gateway)
- execute REST request => generic REST response from Gateway => map response to our model.TranferLog