amount_in_cents refactoring