Table of Contents

Class HouseholdIdentifier

Namespace
SEBT.Portal.Core.Models.Household
Assembly
SEBT.Portal.Core.dll

A typed identifier used to look up and authorize access to household data. The type is determined by state configuration (e.g. Email, SNAP ID); the value comes from the authenticated user.

public sealed record HouseholdIdentifier
Inheritance
object
HouseholdIdentifier

Constructors

HouseholdIdentifier(PreferredHouseholdIdType, string)

A typed identifier used to look up and authorize access to household data. The type is determined by state configuration (e.g. Email, SNAP ID); the value comes from the authenticated user.

public HouseholdIdentifier(PreferredHouseholdIdType Type, string Value)

Parameters

Type PreferredHouseholdIdType

The kind of identifier (e.g. Email, SnapId).

Value string

The identifier value (normalized for lookups).

Properties

Type

The kind of identifier (e.g. Email, SnapId).

public PreferredHouseholdIdType Type { get; init; }

Property Value

PreferredHouseholdIdType

Value

The identifier value (normalized for lookups).

public string Value { get; init; }

Property Value

string

Methods

Email(string)

Creates an identifier with Email.

public static HouseholdIdentifier Email(string value)

Parameters

value string

Returns

HouseholdIdentifier

Phone(string)

Creates an identifier with Phone.

public static HouseholdIdentifier Phone(string value)

Parameters

value string

Returns

HouseholdIdentifier

SnapId(string)

Creates an identifier with SnapId.

public static HouseholdIdentifier SnapId(string value)

Parameters

value string

Returns

HouseholdIdentifier

Ssn(string)

Creates an identifier with Ssn.

public static HouseholdIdentifier Ssn(string value)

Parameters

value string

Returns

HouseholdIdentifier

TanfId(string)

Creates an identifier with TanfId.

public static HouseholdIdentifier TanfId(string value)

Parameters

value string

Returns

HouseholdIdentifier