Table of Contents

Interface IAddressVerificationService

Namespace
SEBT.Portal.Core.Services
Assembly
SEBT.Portal.Core.dll

Validates and normalizes mailing addresses using Smarty (when enabled) and state policy from configuration. Intended for use by portal use cases and state connectors so validation rules stay consistent.

public interface IAddressVerificationService

Methods

ValidateAndNormalizeAsync(AddressUpdateOperationRequest, CancellationToken)

Validates the address with Smarty (or pass-through when disabled), applies per-state policy (e.g. General Delivery), and returns a normalized address or structured validation errors.

Task<Result<AddressUpdateSuccess>> ValidateAndNormalizeAsync(AddressUpdateOperationRequest request, CancellationToken cancellationToken = default)

Parameters

request AddressUpdateOperationRequest
cancellationToken CancellationToken

Returns

Task<Result<AddressUpdateSuccess>>