Class Address

java.lang.Object
com.targomo.client.api.Address

public class Address extends Object
A simple immutable POJO object representing a number of address fields. Not all have to be set. Created by David on 18.07.2017.
  • Field Details

    • street

      public final String street
      The street and house number of the address.
    • streetDetails

      public final String streetDetails
      Further details of the street address, e.g. "2. Hinterhaus"
    • city

      public final String city
      The addresses' city
    • postalCode

      public final String postalCode
      The addresses' postal code
    • country

      public final String country
      Here a three digit country code is expected. (e.g. "DEU" for Germany) Please see https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Pretty prints the Address, i.e. with indention and line breaks.
      Overrides:
      toString in class Object
      Returns:
      the pretty print String of the Address