Class Address
Object for storing the address details
Including the full address and then each separate part of the name or number, the street name, the posttown, the county the state, the postcode or zip code and the country as well as the latitude and longitude
Inherited Members
Namespace: IAI.DT.DataModel.Production
Assembly: IAI.DT.DataModel.dll
Syntax
public class Address
Constructors
Address()
Declaration
public Address()
Properties
Country
Declaration
public string? Country { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the country it is located in |
County
Declaration
public string? County { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the county it is located in |
FullAddress
Declaration
[RCARequired(RebuildCostClassification.Residential)]
public string? FullAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The full address with each different part included, written as one string |
Latitude
Declaration
public double? Latitude { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | The latitude value |
Longitude
Declaration
public double? Longitude { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | The longitude value |
NameNumber
Declaration
public string? NameNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name or number of the location |
PostcodeZip
Declaration
[RCARequired(RebuildCostClassification.Residential)]
[RCARequired(RebuildCostClassification.Commercial)]
public string? PostcodeZip { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The post code or zip code that it is located within |
Posttown
Declaration
public string? Posttown { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the post town it is located in |
State
Declaration
public string? State { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the state it is located in |
Street
Declaration
public string? Street { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the street it is located on |
Methods
Build()
Creates a well formed address string from the address parts.
Declaration
public string Build()
Returns
| Type | Description |
|---|---|
| string | A well formed address string |