TrainSegment

Description
Defines the information needed to describe a train segment that has been booked as part of a reservation.

Type : BookedTrainSegmentType

Definition
Full details on one specific train segment, including the origin and destination locations for this segment, equipment used, services offered, etc.
(Defined in file OTA_RailCommonTypes.xsd , or a file it imports)

Elements
ArrivalStationThe arrival point of the train segment.Defines operation and location details for a train station.
AssignmentTrain seating assignment information.
ClassCodeThe class of inventory controlled services available.Defines a specific code representing the availability of one specific class of service. Such class of service may represent First class, reserved seats, sleeper accommodations, etc.
CommentAny special comments on the segment. Textual information to provide descriptions and/or additional information.
DepartureStationThe departure point of the train segment.Defines operation and location details for a train station.
EquipmentThe type of equipment used for the train journey. Use a string value, such as the operator equipment code or a UIC code.Defines a specific code representing the availability of one specific class of service. Such class of service may represent First class, reserved seats, sleeper accommodations, etc.
MarketingCompanyThe marketing train company.Identifies a company by name.
MarriageGrpMany rail suppliers link connection trips together by terming them married segments. When two or more segments are married, they must be processed as one unit. The segments must be moved, cancelled, and/or priced together. The value of the marriage group must be the same for all segments.
OperatingCompanyThe operating train company, if different from the Marketing Company.Identifies a company by name.
TrainInfoDetailed information about the train.Defines train Information.

Attributes
ArrivalDateTimeThe arrival date and time.
BookStatusThe booking status.
CrossBorderIndWhen true, the train schedule includes a border crossing.
DepartureDateTimeThe departure date and time.
JourneyDurationThe duration of the train from departure location to destination location.
StopQuantityThe number of stops the train makes.
TicketStatusThe ticket status.

Parents
\OTA_RailPriceRQ\BookingReferenceID
\OTA_RailAvailRS\OriginDestinationInformation\OriginDestinationOption\JourneySegment
\OTA_RailShopRS\OriginDestinationInformation\OriginDestinationOption\JourneySegment
\OTA_RailResRetrieveSummaryRS\RailReservation\ODInfo
\OTA_RailBookRS\RailReservation\Itinerary\OriginAndDestination
\OTA_RailBookModifyRQ\RailBookInfo\OriginDestination
\OTA_RailPriceRQ\RailItinerary\OriginDestination
\OTA_LoyaltyCertificateCreateNotifRQ\TravelInfos\TravelInfo\RailInfo\OriginDestination
\OTA_RailBookRQ\RailBookInfo\OriginDestination
\OTA_RailPriceRS\PricedItinerary\OriginDestination
\OTA_RailScheduleRS\OriginDestinationOptions\OriginDestinationOption