Pergunta de entrevista da empresa PayPoint plc

We have this code and it is missing functional logic, as per the stated requirements please implement the missing logic.