Skip to content

AgentInfo

AgentInfo provides the value carrier for agent lookup results.

Purpose

  • Value carrier for agent lookup results.

Context

  • Namespace: SAIF.Business.CustomerContact
  • Assembly/package: SAIF.BOF.Business.CustomerContact

Public members

Member Signature Purpose
AgencyID Public Property AgencyID As Decimal Returns or sets the external agency identifier.
AgentID Public Property AgentID As Decimal Returns or sets the external agent identifier.
AgencyCustomerID Public Property AgencyCustomerID As Decimal Returns or sets the local customer identifier resolved for the agency.
AgentContactID Public Property AgentContactID As Decimal Returns or sets the local contact identifier resolved for the agent.
IsAgency Public ReadOnly Property IsAgency As Boolean Returns whether AgencyID and AgentID refer to the same value.
IsValid Public function IsValid As Boolean Returns whether the object and any checked child objects have accumulated validation errors.
New Public Sub New(ByVal agencyID As Decimal, ByVal agentID As Decimal) Initializes the object with the supplied constructor arguments.

Behavioral notes

  • Validity is computed from a small set of identifier or contact fields in the source class.

Constraints and usage notes

  • Populate the remaining profile fields before treating the object as a complete business summary.

Sources

  • Business\SAIF.Business.CustomerContact\AgentInfo.vb