﻿---
title: clsBillingDetailCollection
summary: API reference for clsBillingDetailCollection.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# clsBillingDetailCollection

A read/write BOF collection of `clsBillingDetail` instances; holds the complete set of billing detail lines associated with a premium set. Used by `clsPremiumSet` and billing workflows to enumerate, add, and persist billing detail records.*

## Purpose
- Manages the ordered set of `clsBillingDetail` lines attached to a premium set.*
- Enables iteration and aggregate operations over billing detail line items for premium set billing workflows.*

## Context
- Namespace: `SAIF.Business.Policy.Premium`
- Assembly/package: `SAIF.Business.Policy.Premium`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GetBillingDetails | `Public Shared Function GetBillingDetails(ByVal inDPI As IDataPortalInfo, inPolicyNum As Decimal, Optional inPolicyPeriodEffDate As Nullable(Of Date) = Nothing) As clsBillingDetailCollection` | Loads cls billing detail collection for the supplied lookup criteria. |
| GetUnBilledBillingDetails | `Public Shared Function GetUnBilledBillingDetails(ByVal inDPI As IDataPortalInfo, inPolicyNum As Decimal, Optional inPolicyPeriodEffDate As Nullable(Of Date) = Nothing) As clsBillingDetailCollection` | Loads cls billing detail collection for the supplied lookup criteria. |
## Inherited public members

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| First | `Sub First()` | Moves traversal to the first item in the BOF collection.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |
| Last | `Sub Last()` | Moves traversal to the last item in the BOF collection.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |
| Next | `Sub Next()` | Advances traversal to the next item.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |
| Previous | `Sub Previous()` | Moves traversal to the previous item.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |

## Behavioral notes
- Source file: `Business\SAIF.Business.Policy.Premium\Billing\clsBillingDetailCollection.vb`.

## Constraints and usage notes
- Collection membership is scoped to a single premium set; adding items outside that context is unsupported.*


> **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
- `Business\SAIF.Business.Policy.Premium\Billing\clsBillingDetailCollection.vb`