
org.opentripplanner.ext.fares.model.FareTransferRule 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
The newest version!
package org.opentripplanner.ext.fares.model;
import java.time.Duration;
import java.util.Collection;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.opentripplanner.model.fare.FareProduct;
import org.opentripplanner.transit.model.framework.FeedScopedId;
public record FareTransferRule(
@Nonnull FeedScopedId id,
@Nullable FeedScopedId fromLegGroup,
@Nullable FeedScopedId toLegGroup,
int transferCount,
@Nullable Duration timeLimit,
@Nonnull Collection fareProducts
) {
public String feedId() {
return id.getFeedId();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy