LocationOption

public final class LocationOption

Container for possible matches to your ambiguous locationKeyword query.

Parameters

type

Type of the location.

regionId

RegionId the location resides in.

shortName

The name of the location which matches the location keyword.

airportCode

Indicates the nearest major airport to the location.

address

The address of the location.

country
geoLocation

Constructors

Link copied to clipboard
public LocationOption LocationOption(String type, String regionId, String shortName, String airportCode, String address, Country country, GeoLocation geoLocation)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String address
Link copied to clipboard
@Valid()
private final String airportCode
Link copied to clipboard
@Valid()
private final Country country
Link copied to clipboard
@Valid()
private final GeoLocation geoLocation
Link copied to clipboard
@Valid()
private final String regionId
Link copied to clipboard
@Valid()
private final String shortName
Link copied to clipboard
@Valid()
private final String type

Functions

Link copied to clipboard
public final static LocationOption.Builder builder()
Link copied to clipboard
public final String getAddress()
Link copied to clipboard
public final String getAirportCode()
Link copied to clipboard
public final Country getCountry()
Link copied to clipboard
public final GeoLocation getGeoLocation()
Link copied to clipboard
public final String getRegionId()
Link copied to clipboard
public final String getShortName()
Link copied to clipboard
public final String getType()
Link copied to clipboard