public class CarRentalStation extends RentalStation implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
String |
address
Reported address of car.
|
int |
carsAvailable |
CarFuelType |
fuelType
Fuel type of the car.
|
boolean |
isBorderDropoff
Whether or not this station is a border dropoff for routing purposes
|
boolean |
isFloatingCar |
String |
licensePlate |
Locale |
locale
This is used for localization.
|
int |
spacesAvailable |
allowDropoff, allowPickup, id, name, networks, x, y
Constructor and Description |
---|
CarRentalStation() |
Modifier and Type | Method and Description |
---|---|
CarRentalStation |
clone() |
boolean |
equals(Object o) |
String |
getName()
Gets translated name of car rental station based on locale
|
int |
hashCode() |
String |
toString() |
public String licensePlate
public int carsAvailable
public int spacesAvailable
public boolean isFloatingCar
public CarFuelType fuelType
public String address
public Locale locale
CarRental
from URL parameter.
Sets default locale on startpublic boolean isBorderDropoff
public CarRentalStation clone()
public String getName()
Copyright © 2020. All rights reserved.