
org.opentripplanner.model.fare.FareMedium 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.model.fare;
import java.util.Objects;
import org.opentripplanner.framework.lang.Sandbox;
import org.opentripplanner.transit.model.framework.FeedScopedId;
/**
*
* The fare medium to "hold" a fare.
*
* This can be cash, an app, smartcards, credit cards and others.
*/
@Sandbox
public record FareMedium(FeedScopedId id, String name) {
public FareMedium {
Objects.requireNonNull(id);
Objects.requireNonNull(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy