Table of Contents

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

IsValid bool

Whether the address could be resolved.

Normalized AddressDto

The standardized address with latitude/longitude, when valid.

Quality string

Geocode precision reported by the provider.

Messages IReadOnlyList<string>

Provider notes (corrections made, why it failed).

Properties

IsValid

Whether the address could be resolved.

public bool IsValid { get; init; }

Property Value

bool

Messages

Provider notes (corrections made, why it failed).

public IReadOnlyList<string> Messages { get; init; }

Property Value

IReadOnlyList<string>

Normalized

The standardized address with latitude/longitude, when valid.

public AddressDto? Normalized { get; init; }

Property Value

AddressDto

Quality

Geocode precision reported by the provider.

public string? Quality { get; init; }

Property Value

string