import { RailSegmentsOperatingCompany } from './RailSegmentsOperatingCompany'; import { RailwayStationDetails } from './RailwayStationDetails'; export declare class RailSegments { /** * The local date and time of the scheduled departure from the departure station, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ departureTime: Date; /** * The local date and time of the scheduled arrival at the destination station, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ arrivalTime: Date; departureStation: RailwayStationDetails; arrivalStation: RailwayStationDetails; /** * This attribute represents the specific transportation method by which the passenger is traveling. It captures the mode of transportation used during the Rail product journey, Possible values are: - `BUS` - The Rail product includes bus transportation for certain segments of the itinerary. - `FERRY` - The Rail product involves ferry transportation as part of the journey. - `PUBLIC_TRANSPORT` - The Rail product represents the use of public transportation modes for the journey. - `TRAM` - The Rail product includes tram transportation as part of the journey. - `RAIL` - The Rail product specifically utilizes train transportation for the journey. - `TRANSFER` - The Rail product involves transfers between different modes of transportation. - `OTHER` - The Rail product utilizes transportation methods not covered by the aforementioned categories. */ transportationMethod: RailSegmentsTransportationMethodEnum; operatingCompany?: RailSegmentsOperatingCompany; constructor(railSegments: RailSegmentsProperties); } export type RailSegmentsTransportationMethodEnum = 'BUS' | 'FERRY' | 'PUBLIC_TRANSPORT' | 'RAIL' | 'TRAM' | 'TRANSFER' | 'OTHERS'; export interface RailSegmentsProperties { departureTime: Date; arrivalTime: Date; departureStation: RailwayStationDetails; arrivalStation: RailwayStationDetails; transportationMethod: RailSegmentsTransportationMethodEnum; operatingCompany?: RailSegmentsOperatingCompany; }