Table of Contents

Class PluginAddressUpdateService

Namespace
SEBT.Portal.Infrastructure.StateConnector
Assembly
SEBT.Portal.Infrastructure.dll

Adapter that fulfills the Core IStateAddressUpdateService port by delegating to the loaded state plugin's address update service. Maps Core models (including the household Address) to plugin contract models (and back) at the boundary.

public class PluginAddressUpdateService : IStateAddressUpdateService
Inheritance
object
PluginAddressUpdateService
Implements

Constructors

PluginAddressUpdateService(IAddressUpdateService)

Adapter that fulfills the Core IStateAddressUpdateService port by delegating to the loaded state plugin's address update service. Maps Core models (including the household Address) to plugin contract models (and back) at the boundary.

public PluginAddressUpdateService(IAddressUpdateService pluginAddressUpdateService)

Parameters

pluginAddressUpdateService IAddressUpdateService

Methods

UpdateAddressAsync(AddressUpdateRequest, CancellationToken)

Persists a mailing address update for the identified household.

public Task<AddressUpdateResult> UpdateAddressAsync(AddressUpdateRequest request, CancellationToken cancellationToken = default)

Parameters

request AddressUpdateRequest

The address update request containing household identifier and new address.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<AddressUpdateResult>

Result indicating success, policy rejection, or backend error.