uk.gov.hmrc.address

# v2

#### package v2

Visibility

1. Public
2. All

### Type Members

1. #### case class Address(lines: List[String], town: Option[String], county: Option[String], postcode: String, subdivision: Option[Country], country: Country) extends Product with Serializable

   Address typically represents a postal address.

   Address typically represents a postal address. For UK addresses, 'town' will always be present. For non-UK addresses, 'town' may be absent and there may be an extra line instead.

2. #### case class AddressRecord(id: String, uprn: Option[Long], address: Address, language: String, localCustodian: Option[LocalCustodian], location: Option[Seq[BigDecimal]], blpuState: Option[String], logicalState: Option[String], streetClassification: Option[String]) extends Product with Serializable

   Represents one address record.

   Represents one address record. Arrays of these are returned from the address-lookup microservice.

3. #### final class BLPUState extends Enum[BLPUState]

4. #### case class Country(code: String, name: String) extends Product with Serializable

   Represents a country as per ISO3166.

5. #### case class International(lines: List[String], postcode: Option[String], country: Option[Country]) extends Product with Serializable

6. #### case class LocalCustodian(code: Int, name: String) extends Product with Serializable

7. #### case class Location(latitude: BigDecimal, longitude: BigDecimal) extends Product with Serializable

8. #### final class LogicalState extends Enum[LogicalState]

9. #### case class ReferenceItem(code: Int, localCustodian: String, county: Option[String]) extends Product with Serializable

10. #### final class StreetClassification extends Enum[StreetClassification]

### Value Members

1. #### object Address extends Serializable

2. #### object AddressRecordConverter

3. #### object BLPUStateHelper

4. #### object Countries

5. #### object Location extends Serializable

6. #### object LogicalStateHelper

7. #### object StreetClassificationHelper

8. #### object enums

### Ungrouped