Namespace SEBT.Portal.UseCases.Household
Classes
- CaseRefDto
Portal-side reference to a specific case for the card-replacement command. Mirrors the state-connector
CaseRefbut lives in the use-cases layer so inner layers do not depend on plugin contracts.
- GetHouseholdDataQuery
Query to retrieve household data for an authenticated user. The household identifier is resolved from the user's claims based on state configuration.
- GetHouseholdDataQueryHandler
Handles retrieval of household data for an authenticated user. Resolves the household identifier from claims (state-configurable), determines PII visibility from IAL level, and fetches household data.
- RequestCardReplacementCommand
Command to request replacement cards for one or more cases.
- RequestCardReplacementCommandHandler
Handles card replacement requests for an authenticated user's household. Validates input, resolves household identity, enforces minimum IAL, rejects case refs not on the household, enforces per-case self-service rules, enforces 2-week cooldown via portal DB, and dispatches to the state connector. Persists replacement-request records for future cooldown enforcement only when the connector reports success, so a failed dispatch does not burn the user's 14-day cooldown for an action that never executed. Connector policy rejections and backend errors are mapped to portal Result types.
- RequestCardReplacementCommandValidator
Validates RequestCardReplacementCommand using data annotations.
- UpdateAddressCommand
Command to update the mailing address for an authenticated user's household.
- UpdateAddressCommandHandler
Handles mailing address updates for an authenticated user's household. Validates input, normalizes the address via IAddressVerificationService, enforces self-service rules and benefit-type policy, and persists via state connector.