All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.api.model.ApiFareProduct Maven / Gradle / Ivy

package org.opentripplanner.api.model;

/**
 * A Fares V2 product. This is a type of ticket or monthly pass that customers can buy.
 *
 * @param id
 * @param name Name of the product, like "One-way single","Monthly pass"
 * @param amount The money amount
 * @param container The fare containers, ie. a smart card or an app.
 * @param category The rider category like senior, youth, veteran.
 */
public record ApiFareProduct(
  String id,
  String name,
  ApiMoney amount,
  ApiFareQualifier container,
  ApiFareQualifier category
) {}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy