Class AddressValidationResult
- Namespace
- Integrations.Application.Tax
- Assembly
- Integrations.Application.dll
Result of address validation.
public sealed record AddressValidationResult : IEquatable<AddressValidationResult>
- Inheritance
-
AddressValidationResult
- Implements
- Inherited Members
Constructors
AddressValidationResult(bool, Address?, string?, IReadOnlyList<string>)
Result of address validation.
public AddressValidationResult(bool IsValid, Address? Normalized, string? Quality, IReadOnlyList<string> Messages)
Parameters
IsValidboolWhether the address resolved.
NormalizedAddressStandardized address with coordinates.
QualitystringGeocode precision.
MessagesIReadOnlyList<string>Provider notes.
Properties
IsValid
Whether the address resolved.
public bool IsValid { get; init; }
Property Value
Messages
Provider notes.
public IReadOnlyList<string> Messages { get; init; }
Property Value
Normalized
Standardized address with coordinates.
public Address? Normalized { get; init; }
Property Value
Quality
Geocode precision.
public string? Quality { get; init; }