---
title: ICollectionsRepository
summary: API reference for ICollectionsRepository.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# ICollectionsRepository

Contract with no implementing class found within this library's own source tree; it may be implemented in a dependent, test, or mocking assembly.**

## Purpose
- Declares a set of members expected of any implementation, without a confirmed in-library implementer.**

## Context
- Namespace: `SAIF.Data`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GetCasesByReferenceNumber | `ICollection<CaseHeader> GetCasesByReferenceNumber(string referenceId)` | Retrieves cases by reference number.* |
| GetCategoryTotals | `ICollection<CategoryTotal> GetCategoryTotals(long caseId)` | Retrieves category totals.* |
| GetDebtorName | `String GetDebtorName(long Id)` | Retrieves debtor name.* |
| GetPrimaryDebtorName | `string GetPrimaryDebtorName(long id)` | Retrieves primary debtor name.* |
| GetDebtorSsn | `DebtorSsn GetDebtorSsn(long Id)` | Retrieves debtor ssn.* |
| GetFraudOtherAddress | `ICollection<DebtorContactInfo> GetFraudOtherAddress(long locId)` | Retrieves fraud other address.* |
| GetPolicyAddress | `ICollection<DebtorContactInfo> GetPolicyAddress(long Id)` | Retrieves policy address.* |
| GetThirdPartyAddress | `ICollection<DebtorContactInfo> GetThirdPartyAddress(long thirdPartySeqNum)` | Retrieves third party address.* |
| SearchCollections | `ICollection<SearchResult> SearchCollections(string lastName, string firstName, string ssn, string policyName, string showClosedCases, string uniqueRunId)` | Performs the `SearchCollections` operation.* |
| ApplyPayments | `void ApplyPayments(decimal trandId, DateTime trandate)` | Applies payments.* |
| GetInterest | `ICollection<CaseInterest> GetInterest(string caseId, DateTime runDate)` | Retrieves interest.* |
| CreateSoilDebtorReferenceRecords | `void CreateSoilDebtorReferenceRecords(DateTime runDate, string uniqueRunId)` | Creates soil debtor reference records.* |
| GetWorkerIdForDebtors | `ICollection<DebtorWorkerId> GetWorkerIdForDebtors()` | Retrieves worker id for debtors.* |
| GetWorkerIdForSoilTrans | `ICollection<DebtorWorkerId> GetWorkerIdForSoilTrans(DateTime createDate)` | Retrieves worker id for soil trans.* |
| CreateSoilAdjustmentRecords | `void CreateSoilAdjustmentRecords(DateTime runDate, string uniqueRunId)` | Creates soil adjustment records.* |
| GetMissingPolicyPayments | `ICollection<SelectedPayment> GetMissingPolicyPayments(DateTime selectDate)` | Retrieves missing policy payments.* |
| GetThirdPartyPayments | `ICollection<SelectedPayment> GetThirdPartyPayments(DateTime selectDate)` | Retrieves third party payments.* |
| DebtorsWithoutPayments | `ICollection<Debtor> DebtorsWithoutPayments(DateTime lastStatementDate)` | Performs the `DebtorsWithoutPayments` operation.* |
| DebtorsWithExpiredLocs | `ICollection<Debtor> DebtorsWithExpiredLocs(DateTime selectDate)` | Performs the `DebtorsWithExpiredLocs` operation.* |
| BalanceBroughtToMinAmountTransactions | `ICollection<SelectedPayment> BalanceBroughtToMinAmountTransactions(DateTime selectDate)` | Performs the `BalanceBroughtToMinAmountTransactions` operation.* |
| DebtorLastStatementBalance | `decimal DebtorLastStatementBalance(DateTime lastStatementDate, long debtorId)` | Performs the `DebtorLastStatementBalance` operation.* |

## Behavioral notes
- As an interface, this type defines no executable behavior of its own; behavior is determined by its implementation(s).*

## Constraints and usage notes
- No concrete in-library implementation was found; verify the implementing assembly before depending on this contract.**

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Data/SAIF.Data/Interfaces/Repositories/ICollectionsRepository.cs`
