com.conveyal.gtfs.model.Fare Maven / Gradle / Ivy
package com.conveyal.gtfs.model;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* This table does not exist in GTFS. It is a join of fare_attributes and fare_rules on fare_id.
* There should only be one fare_attribute per fare_id, but there can be many fare_rules per fare_id.
*/
public class Fare implements Serializable {
public static final long serialVersionUID = 1L;
public String fare_id;
public FareAttribute fare_attribute;
public List fare_rules = Lists.newArrayList();
public Fare(String fare_id) {
this.fare_id = fare_id;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy