RailAllOf

public RailAllOf RailAllOf(RailAllOf.RouteType routeType, List<RailSegments> railSegments)

Parameters

routeType

The type of route or itinerary for the Rail product, indicating the travel arrangement and pattern. Possible values are: - MULTIPLE_DESTINATIONS - The Rail product includes multiple destinations in its itinerary. - ONE_WAY - The Rail product represents a one-way journey. - ROUNDTRIP - The Rail product represents a roundtrip journey.

railSegments