Skip to content

ICleanAddressService

Contract implemented by CleanAddressService, defining the single-address cleansing and proper-case conversion operations exposed to consumers of the CorrectAddress integration.

Purpose

  • Declares the proper-case conversion and single-address standardization operations available to CorrectAddress consumers.

Context

  • Namespace: SAIF.Services.Utilities.CleanAddress
  • Assembly/package: SAIF.Services (packaged inside the SAIF.SAIFCode.Core NuGet package)

Public members

Member Signature Purpose
ConvertToProperCase string ConvertToProperCase(string value) Returns value converted to proper (title) case by the CorrectAddress vendor service.
CleanAddress ICleanedAddress CleanAddress(string addressLine1, string addressLine2, string city, string state, string zip, string zip4, bool mixedCase) Sends the address to CorrectAddress for standardization and returns the cleansed address fields, parsed USPS errors, POSTNET barcode, and clean/unmatched/multiple-match classification.

Sources

  • Services/SAIF.Services/Utilities/CleanAddress/ICleanAddressService.cs