java.lang.Object
com.yoti.api.client.docs.session.instructions.branch.Location.Builder
Enclosing class:
Location

public static class Location.Builder extends Object
  • Method Details

    • withLatitude

      public Location.Builder withLatitude(double latitude)
      Sets the latitude of the location, in decimal degrees (e.g. -40.3992)
      Parameters:
      latitude - the latitude
      Returns:
      the builder
    • withLongitude

      public Location.Builder withLongitude(double longitude)
      Sets the longitude of the location, in decimal degrees (e.g. 20.4821)
      Parameters:
      longitude - the longitude
      Returns:
      the builder
    • build

      public Location build()