Skip to content

clsPeriodRatingInfo

Carries period-level rating context used across lookups. The class carries the ARD, policy-period, market-type, and rate-tier context consumed by rating lookups.

Purpose

  • Carries period-level rating context used across lookups.
  • The class carries the ARD, policy-period, market-type, and rate-tier context consumed by rating lookups.

Context

  • Namespace: SAIF.Business.Policy.Rating
  • Assembly/package: SAIF.Business.Policy.Rating

Public members

Member Signature Purpose
ID Public Property ID() As Decimal Caller-managed identifier slot; the built-in retrieval methods do not populate it.
AnniversaryRatingDate Public Property AnniversaryRatingDate() As Date Implements iPeriodRatingInfo.AnniversaryRatingDate Policy-period anniversary rating date returned from the current or legacy policy-period query.
RatingEffectiveDate Public Property RatingEffectiveDate() As Date Implements iPeriodRatingInfo.RatingEffectiveDate Optional rating-effective-date slot carried by the object; the provided constructors and retrieval queries do not set it.
IsARDExtended Public Property IsARDExtended() As Boolean Implements iPeriodRatingInfo.IsARDExtended Indicates whether the policy period's anniversary rating date carries the extension flag.
IsREDExtended Public Property IsREDExtended() As Boolean Implements iPeriodRatingInfo.IsREDExtended Flag slot for rating-effective-date extension; the provided constructors and retrieval queries leave it at the default value unless set later.
EffectiveDate Public Property EffectiveDate() As Date Implements iPeriodRatingInfo.EffectiveDate Policy period effective date for the rating context row.
ExpirationDate Public Property ExpirationDate() As Date Implements iPeriodRatingInfo.ExpirationDate Policy period expiration date for the rating context row.
RateTierCode Public Property RateTierCode() As String Implements iPeriodRatingInfo.RateTierCode Risk type or rate tier code returned with the policy period.
MarketType Public Property MarketType() As Policy.Enums.MarketTypes Implements iPeriodRatingInfo.MarketType Market type enum resolved from policy.market_type_code.
Equals Public Overrides Function Equals(ByVal obj As Object) As Boolean Uses the type-specific period-rating comparison when obj is another clsPeriodRatingInfo; otherwise falls back to base equality.
Equals Public Overloads Function Equals(ByVal inObject As iPeriodRatingInfo) As Boolean Implements IEquatable(Of iPeriodRatingInfo).Equals ' iPeriodRatingInfo.Equals Delegates to the shared BaseEquals helper to compare iPeriodRatingInfo values.
GetHashCode Public Overrides Function GetHashCode() As Integer Implements iPeriodRatingInfo.GetHashCode Hashes the same identity value this type uses in keyed collections.
New Public Sub New() Creates an empty BOF object shell that shared factory methods or retrieval logic can populate with a loaded row.
New Public Sub New(ByVal inPeriodRatingInfo As iPeriodRatingInfo) Creates a criteria-backed instance seeded with inPeriodRatingInfo so the next retrieval runs in the caller's requested context.
New Public Sub New(ByVal inPolicyPeriod As iPolicyPeriodBase) Creates a criteria-backed instance seeded with inPolicyPeriod so the next retrieval runs in the caller's requested context.
GetPeriodRatingInfo Public Shared Function GetPeriodRatingInfo(ByVal inDPI As IDataPortalInfo, ByVal inPolicyNumber As Decimal, ByVal inPolicyPeriodEffectiveDate As Date) As clsPeriodRatingInfo Retrieves the rating context for a specific policy and policy-period effective date.
GetCurrentPeriodRatingInfo Public Shared Function GetCurrentPeriodRatingInfo(ByVal inDPI As IDataPortalInfo, ByVal inPolicyNumber As Decimal) As clsPeriodRatingInfo Retrieves the most current policy-period rating context for a policy by selecting the maximum policy-period effective date.
## Behavioral notes
- Retrieval can come from either the current WCIS policy-period tables or the legacy non-WCIS table.
## Constraints and usage notes
- Callers can request either a specific policy period or the most current one, depending on which shared factory they use.
## Sources
- Business\SAIF.Business.Policy.Rating\clsPeriodRatingInfo.vb