Exemplo n.º 1
0
            public StandardAccount Transform(SourceData data)
            {
                StandardAccount account = new StandardAccount();

                account.AccountCode = data.CustodianCode;
                account.Name        = data.Name;
                account.Type        = GetAccountType(data.Type);
                account.Currency    = GetCurrency(data.Currency);

                return(account);
            }
Exemplo n.º 2
0
            public StandardAccount Transform(SourceData data)
            {
                StandardAccount account = new StandardAccount();

                account.AccountCode = data.Identifier.Split('|')[1];
                account.Name        = data.Name;
                account.Type        = GetAccountType(data.Type);
                account.OpenDate    = DateTime.Parse(data.OpenDate);
                account.Currency    = GetCurrency(data.Currency);

                return(account);
            }