processFunding

Processes a Funding for the User with the given id. Must validate that the User exists and the Funding is valid.

Return

The Result of the operation.

Parameters

funding
The Funding to be processed.
userId
The id of the User.
open suspend override fun processFunding(userId: String, funding: Funding): Result<String>