Add getType method in the ExchangeBankAccount model