
org.opentripplanner.routing.vehicle_rental.VehicleRentalStationUris Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.routing.vehicle_rental;
import javax.annotation.Nullable;
/**
* Contains rental URIs for Android, iOS, and web in the android, ios, and web fields. See the
* GBFS
* station_information.json specification
* for more details.
*/
public class VehicleRentalStationUris {
/**
* A URI that can be passed to an Android app with an {@code android.intent.action.VIEW} Android
* intent to support Android Deep Links.
*
* May be {@code null} if a rental URI does not exist.
*/
@Nullable
public final String android;
/**
* A URI that can be used on iOS to launch the rental app for this station.
*
* May be {@code null} if a rental URI does not exist.
*/
@Nullable
public final String ios;
/**
* At URL that can be used by a web browser to show more information about renting a vehicle at
* this station.
*
* May be {@code null} if a rental URL does not exist.
*/
@Nullable
public final String web;
public VehicleRentalStationUris(String android, String ios, String web) {
this.android = android;
this.ios = ios;
this.web = web;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy