Pergunta de entrevista da empresa BrightHR

It is a coding task: https://github.com/brighthr/checkout-kata