private NamedTransaction FetchTransactionType(string[] array)
{
var stringType = this.importUtilities.FetchString(array, TransactionTypeIndex);
if (string.IsNullOrWhiteSpace(stringType))
{
return null;
}
if (TransactionTypes.ContainsKey(stringType))
{
return TransactionTypes[stringType];
}
var fullTypeText = stringType;
var transactionType = new NamedTransaction(fullTypeText, true);
TransactionTypes.Add(stringType, transactionType);
return transactionType;
}