public static DTO.BIM.MatchEnrollmentRequest ParseManualEnrollment(Account account) { return new DTO.BIM.MatchEnrollmentRequest() { aba = account.ABA, dda = account.DDA }; }
private static List<Account> ParseAccount(ServiceResponse response) { if (response != null && response.payload != null && response.payload.bank_accounts != null) { var accounts = new List<Account>(); foreach (BankAccount bankAccount in response.payload.bank_accounts) { var account = new Account() { ABA = bankAccount.aba, DDA = bankAccount.dda, Alias = bankAccount.account_alias, Guid = bankAccount.bank_account_guid }; accounts.Add(account); } return accounts; } return null; }