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

# clsRatingRuleMasterCollection

Read-only BOF collection of `clsRatingRuleMaster` instances; groups rating rule master records for lookup and iteration by the premium rating engine.*

## Purpose
- Provides enumerable access to all rating rule master records for use by premium sub-total computation workflows.*
- Consumed by the premium rating engine to locate the applicable rule master for a given as-of date and financial system.*

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Contains | `Public Overloads Function Contains(ByVal inRatingRuleMasterID As Decimal) As Boolean` | Checks whether the collection already contains the specified item or identifier. |
| GetRatingRuleMasters | `Public Shared Function GetRatingRuleMasters(ByVal inDataportal As IDataPortalInfo) As clsRatingRuleMasterCollection` | Loads cls rating rule master 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\Rating\clsRatingRuleMasterCollection.vb`.

## Constraints and usage notes
- Read-only; rating rule master records are retrieved through `clsRatingRuleMaster` factory methods and cannot be modified through this collection.*


> **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\Rating\clsRatingRuleMasterCollection.vb`