Class AddressValidationDto
- Namespace
- Integrations.Contracts.Tax
- Assembly
- Integrations.Contracts.dll
Normalized is the USPS/Canada Post form with coordinates, used to pin the exact tax jurisdiction when one
ZIP code spans several cities or counties. Quality is the geocode precision (e.g. Rooftop).
public sealed record AddressValidationDto : IEquatable<AddressValidationDto>
- Inheritance
-
AddressValidationDto
- Implements
- Inherited Members
Constructors
AddressValidationDto(bool, AddressDto?, string?, IReadOnlyList<string>)
Normalized is the USPS/Canada Post form with coordinates, used to pin the exact tax jurisdiction when one
ZIP code spans several cities or counties. Quality is the geocode precision (e.g. Rooftop).
public AddressValidationDto(bool IsValid, AddressDto? Normalized, string? Quality, IReadOnlyList<string> Messages)
Parameters
IsValidboolWhether the address could be resolved.
NormalizedAddressDtoThe standardized address with latitude/longitude, when valid.
QualitystringGeocode precision reported by the provider.
MessagesIReadOnlyList<string>Provider notes (corrections made, why it failed).
Properties
IsValid
Whether the address could be resolved.
public bool IsValid { get; init; }
Property Value
Messages
Provider notes (corrections made, why it failed).
public IReadOnlyList<string> Messages { get; init; }
Property Value
Normalized
The standardized address with latitude/longitude, when valid.
public AddressDto? Normalized { get; init; }
Property Value
Quality
Geocode precision reported by the provider.
public string? Quality { get; init; }