CarsLocationOption

public final class CarsLocationOption

List for possible locations from which the customer must choose the best one to be re-submitted in the request.

Parameters

requestedLocation

Location used in partner request.

locations

Container for list of possible locations that could be used to disambiguate the query.

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 CarsLocationOption CarsLocationOption(String requestedLocation, List<CarsLocation> locations, String type, String regionId, String shortName, String airportCode, String address, CarsCountry country, CarsGeoLocation 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 CarsCountry country
Link copied to clipboard
@Valid()
private final CarsGeoLocation geoLocation
Link copied to clipboard
@NotNull()
@Valid()
private final List<CarsLocation> locations
Link copied to clipboard
@Valid()
private final String regionId
Link copied to clipboard
@NotNull()
@Valid()
private final String requestedLocation
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 CarsLocationOption.Builder builder()
Link copied to clipboard
public final String getAddress()
Link copied to clipboard
public final String getAirportCode()
Link copied to clipboard
public final CarsCountry getCountry()
Link copied to clipboard
Link copied to clipboard
public final List<CarsLocation> getLocations()
Link copied to clipboard
public final String getRegionId()
Link copied to clipboard
Link copied to clipboard
public final String getShortName()
Link copied to clipboard
public final String getType()
Link copied to clipboard