Skip to content

clsPolicyAddress

clsPolicyAddress is the single type through which every address on a policy is retrieved. Each address kind has its own factory method, and the claim-address method additionally decides whether to fall back to the mailing address when no claim address exists. Like the agency, it masks its own contents for demonstration access levels, so masking cannot be bypassed by reading the address directly.

Purpose

  • Retrieves the mailing, claim, third-party manager, policyholder, and location-scoped addresses for a policy (Retrieve supporting policy aggregates).
  • Falls back to the mailing address when a claim address is requested and none exists (BR-017).
  • Masks address detail for demonstration access levels (BR-013).
  • Supplies the officer-of-notice name associated with the address.

Context

  • Namespace: SAIF.Business.View.Policy
  • Assembly/package: SAIF.BOF.Business.View.Policy
  • Declared in: Business/SAIF.Business.View.Policy/clsPolicyAddress.vb

Public members

Member Signature Purpose
IsDemoUser Public ReadOnly Property IsDemoUser() As Boolean True when the address was retrieved for a demonstration account, in which case its detail is masked (BR-013).
LocationCode Public ReadOnly Property LocationCode() As String Coded value classifying the location of the policy address.*
IsClaimAddress Public ReadOnly Property IsClaimAddress() As Boolean True when this address was retrieved as the claim address (BR-017).
IsPolicyHolderAddress Public ReadOnly Property IsPolicyHolderAddress() As Boolean True when this address was retrieved as the policyholder address.
IsValid Public Overrides ReadOnly Property IsValid() As Boolean False when no address row was found for the request.
ContactName Public ReadOnly Property ContactName() As clsName Name of the contact recorded against the policy address.*
ContactPhone Public ReadOnly Property ContactPhone() As clsPhone The contact phone recorded on the policy address.*
ContactPhoneNumber Public ReadOnly Property ContactPhoneNumber() As String Identifier of the contact phone attached to the policy address.*
ContactEmailAddress Public ReadOnly Property ContactEmailAddress() As String The contact email address recorded on the policy address.*
PolicyEmailAddress Public ReadOnly Property PolicyEmailAddress() As String The policy email address recorded on the policy address.*
ContactFullName Public ReadOnly Property ContactFullName() As String Name of the contact full recorded against the policy address.*
OfficerOfNotice Public ReadOnly Property OfficerOfNotice() As String The person legal notices on the policy must be served on.*
GetPolicyAddressByLocationSeqNum Public Shared Function GetPolicyAddressByLocationSeqNum(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inLocationSeqNum As Decimal, Optional ByVal inUserAccessLevel As clsPolicyData.UserAc … Retrieves the address recorded against a specific insured location rather than the policy as a whole.
GetPolicyAddress Public Shared Function GetPolicyAddress(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inPolicyNum As Decimal, Optional ByVal inUserAccessLevel As clsPolicyData.UserAccessLevels = clsPolic … Retrieves the policy mailing address (Retrieve supporting policy aggregates).
GetPolicyClaimAddress Public Shared Function GetPolicyClaimAddress(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inPolicyNum As Decimal, ByVal inGetMailAddrFlag As YesNoFlag, Optional ByVal inUserAccessLevel A … Retrieves the claim address, optionally substituting the mailing address when none exists (BR-017).
GetTpManagerAddress Public Shared Function GetTpManagerAddress(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inPolicyNum As Decimal, Optional ByVal inUserAccessLevel As clsPolicyData.UserAccessLevels = clsPo … Retrieves the address of the third-party manager administering the policy.
GetPolicyHolderAddress Public Shared Function GetPolicyHolderAddress(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inPolicyNum As Decimal, Optional ByVal inUserAccessLevel As clsPolicyData.UserAccessLevels = cl … Retrieves the policyholder's own address.

Constraints and usage notes

  • The type derives from clsAddress, which is not resolved to a documented dependency in this run, so its inherited surface — the street, city, state, and postal-code members consumers read — cannot be listed here.**

Note: Statements marked with † are derived from dependency library documentation via the Legends CLI. Statements marked with * were inferred from code structure or contextual evidence. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business/SAIF.Business.View.Policy/clsPolicyAddress.vb