Created TransactionListStrategy super class and extracted methods from switch statements.