---
title: clsRateTier
summary: API reference for clsRateTier.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Rating
reference_type: package
---
# clsRateTier
Represents a risk-type or rate-tier code row. The class resolves the effective rate-tier-factor rows that apply to one risk-type code over time.
## Purpose
- Represents a risk-type or rate-tier code row.
- The class resolves the effective rate-tier-factor rows that apply to one risk-type code over time.
## Context
- Namespace: `SAIF.Business.Policy.Rating`
- Assembly/package: `SAIF.Business.Policy.Rating`
## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Code | `Public ReadOnly Property Code() As String` | Risk type code that identifies this rate tier row. |
| EffectiveDate | `Public ReadOnly Property EffectiveDate() As Date` | Start date from which this rate tier row is in force. |
| ExpirationDate | `Public ReadOnly Property ExpirationDate() As Date` | End date after which this rate tier row no longer applies; empty means open-ended. |
| IsActive | `Public ReadOnly Property IsActive(ByVal inDate As Date) As Boolean` | True when the supplied date falls within the tier's effective window. |
| IsDefault | `Public ReadOnly Property IsDefault() As Boolean` | Marks the default tier for its market type, effective date, and MCO/IHC option combination. |
| IsIntegratedHealthCare | `Public ReadOnly Property IsIntegratedHealthCare() As Boolean` | Marks tiers intended for policies that chose Integrated Health Care. |
| IsManagedCareOrganization | `Public ReadOnly Property IsManagedCareOrganization() As Boolean` | Marks tiers intended for policies that chose a Managed Care Organization. |
| MarketType | `Public ReadOnly Property MarketType() As Policy.Enums.MarketTypes` | Market type enum resolved from the stored market type code. |
| Rank | `Public ReadOnly Property Rank() As Decimal` | Tier ranking within rows that share the same market type, effective period, and MCO/IHC options. |
| RateTierFactors | `Public ReadOnly Property RateTierFactors() As IEnumerable(Of clsRateTierFactor)` | Returns the loaded `clsRateTierFactor` rows whose risk-type code matches this tier's code. |
| RateTierFactor | `Public ReadOnly Property RateTierFactor(ByVal inAsOfDate As Date) As clsRateTierFactor` | Returns the first effective-dated factor row for this tier code whose range covers the requested as-of date. |
| IsEffectiveDateNull | `Public Function IsEffectiveDateNull() As Boolean` | Indicates whether the effective date field is empty. |
| IsExpirationDateNull | `Public Function IsExpirationDateNull() As Boolean` | Indicates whether the expiration date field is empty. |
| Equals | `Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean` | Returns `True` only when both operands are rate tiers with the same code. |
| Equals | `Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean` | Uses the typed rate-tier comparison for another `clsRateTier`; otherwise returns `False`. |
| Equals | `Public Overloads Function Equals(ByVal inObject As clsRateTier) As Boolean` | Treats two rate tier rows as equal when their `Code` values match. |
| GetHashCode | `Public Overrides Function GetHashCode() As Integer` | Hashes `Code`, the value this type uses as its identity key in keyed collections. |
| ToString | `Public Overrides Function ToString() As String` | Uses the rate tier code as the object's string representation. |
| GetRateTier | `Public Shared Function GetRateTier(ByVal inDataportal As IDataPortalInfo, ByVal inCode As String) As clsRateTier` | Retrieves the a risk-type or rate-tier code row identified by the key values or effective-date criteria supplied by the caller. |
| GetDefaultRateTier | `Public Shared Function GetDefaultRateTier(ByVal inDataportal As IDataPortalInfo, ByVal inMarketType As Policy.Enums.MarketTypes, ByVal inEffectiveDate As Date, Optional ByVal inIsManagedCareOrganization As Boolean = False, Optional ByVal inIsIntegratedHealthCare As Boolean = False) As clsRateTier` | Retrieves the default rate tier for the supplied market type, effective date, and managed-care flags. |
| GetSAIFQuoteDefaultRateTier | `Public Shared Function GetSAIFQuoteDefaultRateTier(ByVal inDataportal As IDataPortalInfo, ByVal inMarketType As Policy.Enums.MarketTypes, ByVal inEffectiveDate As Date) As clsRateTier` | Returns the hard-coded SAIF Quote default rate tier that corresponds to the supplied market type and effective date. |
| Code | `Public Property Code() As String` | Criteria code used to retrieve one specific `RISK_TYPE_CODE` row. |
| MarketType | `Public Property MarketType() As Policy.Enums.MarketTypes` | Market type criterion used when retrieving the default rate tier instead of a specific code. |
| EffectiveDate | `Public Property EffectiveDate() As Date` | Effective-date criterion used to find the default tier in force for a market type. |
| IsManagedCareOrganization | `Public Property IsManagedCareOrganization() As Boolean` | Converts the MCO criterion to the `Y`/`N` flag used in default-tier retrieval SQL. |
| IsIntegratedHealthCare | `Public Property IsIntegratedHealthCare() As Boolean` | Converts the IHC criterion to the `Y`/`N` flag used in default-tier retrieval SQL. |
| New | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo)` | Creates an empty BOF object shell that shared factory methods or retrieval logic can populate with a loaded row. |
| New | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inCode As String)` | Creates a criteria-backed instance seeded with `inCode` so the next retrieval runs in the caller's requested context. |
| New | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inMarketType As Policy.Enums.MarketTypes, ByVal inEffectiveDate As Date, ByVal inIsManagedCareOrganization As Boolean, ByVal inIsIntegratedHealthCare As Boolean)` | Creates an empty BOF object shell that shared factory methods or retrieval logic can populate with a loaded row. |
## Inherited public members
| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| Rules | `Property Rules As clsRulesManager` | Owns the BOF rules manager used to evaluate registered validation logic.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| BeginEdit | `Sub BeginEdit()` | Opens an n-level edit session for the business object.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| CancelEdit | `Sub CancelEdit()` | Rolls back the active edit scope.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| ApplyEdit | `Sub ApplyEdit()` | Commits the active edit scope.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| Error | `ReadOnly Property Error As String` | Surfaces aggregate broken-rule text through `IDataErrorInfo`.† | `SAIF.Framework.Core` — `clsBusinessBase` |
## Behavioral notes
- The type filters the shared rate-tier-factor collection down to rows for its own code, then resolves the first row whose range covers the requested date.
## Constraints and usage notes
- Use `RateTierFactor(inAsOfDate)` when you need the effective multiplier row; `RateTierFactors` exposes every loaded row for the tier code.
> **Note:** Statements marked with `†` are derived from dependency library
> documentation via the Legends CLI. They describe inherited behavior from the
> indicated origin library and should be verified if the dependency version changes.
## Sources
- `Business\SAIF.Business.Policy.Rating\clsRateTier.vb`

