Take a look at the implemented functions in our banking system:
def getUser(id: Long): Either[String, User]
def validateEnoughBalance(user: User, amountToCheck: BigDecimal): Either[String, Unit]
def applyTransfer(from: User, to: User, amount: BigDecimal): Either[String, Unit]
The implementation of the User class is hidden on purpose. Use for-comprehension to combine the methods and write a method that will get users by ID, check sender balance, and make a money transfer.