pAccount.setAccountType(mapAccountType(vAccountType));
return pAccount;
}
private AccountType mapAccountType(String pAccountType) {
AccountType vAccountType;
if ("Sparkonto".equals(pAccountType)) {
vAccountType = AccountType.SAVINGS;
} else {
vAccountType = AccountType.OTHER;
}