Class AddressUpdateOperationRequest
- Namespace
- SEBT.Portal.Core.Models.AddressUpdate
- Assembly
- SEBT.Portal.Core.dll
Canonical input for shared address validation and normalization (portal handlers and state connectors). Carries optional identifiers and metadata so callers can correlate requests without coupling to HTTP.
public sealed record AddressUpdateOperationRequest
- Inheritance
-
objectAddressUpdateOperationRequest
Properties
City
City or USPS post office location for General Delivery.
public required string City { get; init; }
Property Value
- string
CorrelationId
Optional end-to-end correlation id (logging, support).
public string? CorrelationId { get; init; }
Property Value
- string
HouseholdExternalId
Optional state case or eligibility system identifier for the household.
public string? HouseholdExternalId { get; init; }
Property Value
- string
Metadata
Optional opaque key/value metadata (connector-specific; not sent to Smarty).
public IReadOnlyDictionary<string, string>? Metadata { get; init; }
Property Value
- IReadOnlyDictionary<string, string>
PostalCode
US ZIP or ZIP+4.
public required string PostalCode { get; init; }
Property Value
- string
State
US state name or two-letter abbreviation.
public required string State { get; init; }
Property Value
- string
StreetAddress1
Line-one street address or USPS-style General Delivery line.
public required string StreetAddress1 { get; init; }
Property Value
- string
StreetAddress2
Optional secondary line (unit, suite, etc.).
public string? StreetAddress2 { get; init; }
Property Value
- string
Methods
FromHouseholdAddress(Address)
Builds a request from the domain Address model.
public static AddressUpdateOperationRequest FromHouseholdAddress(Address address)
Parameters
addressAddress