Introduced 3 Explaining Variables to public long getAmount() to simply the complexity of the conditional expression.