Implements the VehicleRentalPlace class which contains Javadoc.
| name | data type | constraints | description |
|---|---|---|---|
| id | FeedScopedId | ||
| name | I18NString | ||
| longitude | number | required | |
| latitude | number | required | |
| system | VehicleRentalSystem | ||
| vehicleType | RentalVehicleType | ||
| rentalUris | VehicleRentalStationUris | ||
| isReserved | boolean | required | |
| isDisabled | boolean | required | |
| lastReported | string | ||
| currentRangeMeters | number | ||
| station | VehicleRentalStation | ||
| pricingPlanId | string | ||
| stationId | string | Get the system-internal id for the place | |
| network | string | Get the id of the vehicle rental system | |
| vehiclesAvailable | number | required | How many vehicles are currently available for rental at the station |
| spacesAvailable | number | required | How many parking spaces are currently available for dropping off a vehicle at the station, 0 for floating vehicles |
| capacity | number | Number of total docking points installed at this station, both available and unavailable. | |
| allowDropoff | boolean | required | Does the place allow dropping off vehicles |
| allowOverloading | boolean | required | Does the place allow overloading (ignore available spaces) |
| allowPickup | boolean | required | Can a vehicle be rented here |
| floatingVehicle | boolean | required | Is the vehicle to be rented free-floating |
| carStation | boolean | required | Should the search be continued with CAR mode after renting a vehicle |
| keepingVehicleRentalAtDestinationAllowed | boolean | required | Is it possible to arrive at the destination with a rented bicycle, without dropping it off |
| realTimeData | boolean | required | Whether this station has real-time data available currently. If no real-time data, users should take bikesAvailable/spacesAvailable with a pinch of salt, as they are always the total capacity divided by two. |
Example
{
"id" : {
"feedId" : "...",
"id" : "..."
},
"name" : { },
"longitude" : 12345.0,
"latitude" : 12345.0,
"system" : {
"systemId" : "...",
"language" : "...",
"name" : "...",
"shortName" : "...",
"operator" : "...",
"url" : "...",
"purchaseUrl" : "...",
"startDate" : "...",
"phoneNumber" : "...",
"email" : "...",
"feedContactEmail" : "...",
"timezone" : {
"rawOffset" : 12345,
"DSTSavings" : 12345,
"availableIDs" : [ "...", "..." ],
"default" : { },
"displayName" : "...",
"ID" : "..."
},
"licenseUrl" : "...",
"androidApp" : {
"storeUri" : "...",
"discoveryUri" : "..."
},
"iosApp" : {
"storeUri" : "...",
"discoveryUri" : "..."
}
},
"vehicleType" : {
"id" : {
"feedId" : "...",
"id" : "..."
},
"name" : "...",
"formFactor" : "MOPED",
"propulsionType" : "ELECTRIC_ASSIST",
"maxRangeMeters" : 12345.0
},
"rentalUris" : {
"android" : "...",
"ios" : "...",
"web" : "..."
},
"isReserved" : true,
"isDisabled" : true,
"lastReported" : "...",
"currentRangeMeters" : 12345.0,
"station" : {
"id" : {
"feedId" : "...",
"id" : "..."
},
"name" : { },
"shortName" : "...",
"longitude" : 12345.0,
"latitude" : 12345.0,
"address" : "...",
"crossStreet" : "...",
"regionId" : "...",
"postCode" : "...",
"rentalMethods" : [ "...", "..." ],
"isVirtualStation" : true,
"stationArea" : {
"length" : 12345.0,
"numGeometries" : 12345,
"precisionModel" : { },
"interiorPoint" : { },
"rectangle" : true,
"area" : 12345.0,
"boundary" : { },
"boundaryDimension" : 12345,
"numPoints" : 12345,
"coordinates" : [ { }, { } ],
"dimension" : 12345,
"envelopeInternal" : { },
"empty" : true,
"coordinate" : { },
"centroid" : { },
"factory" : { },
"SRID" : 12345,
"simple" : true,
"userData" : { },
"geometryType" : "...",
"envelope" : { },
"valid" : true
},
"capacity" : 12345,
"vehicleTypeAreaCapacity" : {
"property1" : 12345,
"property2" : 12345
},
"vehicleTypeDockCapacity" : {
"property1" : 12345,
"property2" : 12345
},
"isValetStation" : true,
"system" : {
"systemId" : "...",
"language" : "...",
"name" : "...",
"shortName" : "...",
"operator" : "...",
"url" : "...",
"purchaseUrl" : "...",
"startDate" : "...",
"phoneNumber" : "...",
"email" : "...",
"feedContactEmail" : "...",
"timezone" : { },
"licenseUrl" : "...",
"androidApp" : { },
"iosApp" : { }
},
"rentalUris" : {
"android" : "...",
"ios" : "...",
"web" : "..."
},
"vehiclesAvailable" : 12345,
"vehiclesDisabled" : 12345,
"vehicleTypesAvailable" : {
"property1" : 12345,
"property2" : 12345
},
"spacesAvailable" : 12345,
"spacesDisabled" : 12345,
"vehicleSpacesAvailable" : {
"property1" : 12345,
"property2" : 12345
},
"isInstalled" : true,
"isRenting" : true,
"isReturning" : true,
"lastReported" : "...",
"allowOverloading" : true,
"isKeepingVehicleRentalAtDestinationAllowed" : true,
"realTimeData" : true,
"stationId" : "...",
"network" : "...",
"allowDropoff" : true,
"allowPickup" : true,
"floatingVehicle" : true,
"carStation" : true,
"keepingVehicleRentalAtDestinationAllowed" : true
},
"pricingPlanId" : "...",
"stationId" : "...",
"network" : "...",
"vehiclesAvailable" : 12345,
"spacesAvailable" : 12345,
"capacity" : 12345,
"allowDropoff" : true,
"allowOverloading" : true,
"allowPickup" : true,
"floatingVehicle" : true,
"carStation" : true,
"keepingVehicleRentalAtDestinationAllowed" : true,
"realTimeData" : true
}