First refactoring: extracting method amountFor().

Signed-off-by: Tomasz Kamiński <kaminski.tomasz.a@gmail.com>