interface BackendAdapter<V>
Backend Adapter
This interface defines what customer has to implement (in own backend) in order to use Payment Highway API
T - the type of the return data for addCardCompleted
abstract fun addCardCompleted(transactionId: TransactionId, completion: (Result<V, Exception>) -> Unit): Unit
Add card completed |
|
abstract fun getTransactionId(completion: (Result<TransactionId, Exception>) -> Unit): Unit
Get the transaction id |