# TrainReservation

Type name: [TrainReservation](https://developers.google.com/workspace/gmail/markup/reference/types/TrainReservation.md.txt)

Extends [Reservation](https://developers.google.com/workspace/gmail/markup/reference/types/Reservation.md.txt)

| Name | Type | Description |
|---|---|---|
| **bookingAgent** | [Organization](https://developers.google.com/workspace/gmail/markup/reference/types/Organization.md.txt) or [Person](https://developers.google.com/workspace/gmail/markup/reference/types/Person.md.txt) | Booking agent or agency. Also accepts a string (e.g. ""). |
| bookingAgent.**name** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | Name of the agent/service. |
| bookingAgent.**url** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | Website of the agent/service. |
| **bookingTime** | [DateTime](https://developers.google.com/workspace/gmail/markup/reference/types/DateTime.md.txt) | Date the reservation was made. |
| **cancelReservationUrl** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | Web page where reservation can be cancelled. |
| **checkinUrl** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | Webpage where the passenger can check in. |
| **confirmReservationUrl** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | Web page where reservation can be confirmed. |
| **modifiedTime** | [DateTime](https://developers.google.com/workspace/gmail/markup/reference/types/DateTime.md.txt) | (recommended for Confirmation Cards/Search Answers) Time the reservation was last modified. |
| **modifyReservationUrl** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | (recommended for Confirmation Cards/Search Answers) Web page where reservation can be modified. |
| **programMembership** | [ProgramMembership](https://developers.google.com/workspace/gmail/markup/reference/types/ProgramMembership.md.txt) | Any membership in a frequent flyer, hotel loyalty program, etc. being applied to the reservation. |
| programMembership.**memberNumber** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The identifier of the membership. |
| programMembership.**program** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The name of the program. |
| **reservationFor** **(Required)** | [TrainTrip](https://developers.google.com/workspace/gmail/markup/reference/types/TrainTrip.md.txt) | Information about the train trip. |
| reservationFor.**arrivalPlatform** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The platform where the train arrives. |
| reservationFor.**arrivalStation** **(Required)** | [TrainStation](https://developers.google.com/workspace/gmail/markup/reference/types/TrainStation.md.txt) | The station where the train ends. |
| reservationFor.arrivalStation.**name** **(Required)** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | Name of the TrainStation. |
| reservationFor.**arrivalTime** **(Required)** | [DateTime](https://developers.google.com/workspace/gmail/markup/reference/types/DateTime.md.txt) | The expected arrival time. |
| reservationFor.**departurePlatform** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The platform where the train departs. |
| reservationFor.**departureStation** **(Required)** | [TrainStation](https://developers.google.com/workspace/gmail/markup/reference/types/TrainStation.md.txt) | The station where the train departs. |
| reservationFor.departureStation.**name** **(Required)** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | Name of the TrainStation. |
| reservationFor.**departureTime** **(Required)** | [DateTime](https://developers.google.com/workspace/gmail/markup/reference/types/DateTime.md.txt) | The expected departure time. |
| reservationFor.**trainCode** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The unique identifier for the train. |
| reservationFor.**trainCompany** | [Organization](https://developers.google.com/workspace/gmail/markup/reference/types/Organization.md.txt) | The organization that operates the train. Also accepts a string (e.g. ""). |
| reservationFor.**trainName** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The name of the train. |
| reservationFor.**trainNumber** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | (recommended for Confirmation Cards/Search Answers) The number for the train. |
| **reservationNumber** **(Required)** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The number or id of the reservation. |
| **reservationStatus** **(Required)** | [ReservationStatus](https://developers.google.com/workspace/gmail/markup/reference/types/ReservationStatus.md.txt) | Current status of the reservation. |
| **reservedTicket** | [Ticket](https://developers.google.com/workspace/gmail/markup/reference/types/Ticket.md.txt) | Ticket information. |
| reservedTicket.**additionalTicketText** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | Additional explanatory text about the ticket. |
| reservedTicket.**downloadUrl** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | . |
| reservedTicket.**price** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | Total price of the ticket. |
| reservedTicket.**priceCurrency** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The currency (in 3-letter ISO 4217 format) of the ticket's price. |
| reservedTicket.**printUrl** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | . |
| reservedTicket.**ticketedSeat** | [Seat](https://developers.google.com/workspace/gmail/markup/reference/types/Seat.md.txt) | The location of the reserved seat (e.g., 27B). . |
| reservedTicket.ticketedSeat.**seatingType** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The type/class of the seat. |
| reservedTicket.ticketedSeat.**seatNumber** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The location of the reserved seat. |
| reservedTicket.ticketedSeat.**seatRow** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The row location of the reserved seat. |
| reservedTicket.**ticketNumber** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | The number or id of the ticket. |
| reservedTicket.**ticketToken** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) or [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | If the barcode image is hosted on your site, the value of the field is URL of the image, or a barcode or QR URI, such as "barcode128:AB34" (ISO-15417 barcodes), "qrCode:AB34" (QR codes), "aztecCode:AB34" (Aztec codes), "barcodeEAN:1234" (EAN codes) and "barcodeUPCA:1234" (UPCA codes). |
| reservedTicket.**underName** | [Organization](https://developers.google.com/workspace/gmail/markup/reference/types/Organization.md.txt) or [Person](https://developers.google.com/workspace/gmail/markup/reference/types/Person.md.txt) | The Person or organization the ticket is for. |
| reservedTicket.underName.**name** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | Name of the Person. |
| **underName** | [Organization](https://developers.google.com/workspace/gmail/markup/reference/types/Organization.md.txt) or [Person](https://developers.google.com/workspace/gmail/markup/reference/types/Person.md.txt) | The passenger. |
| underName.**email** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | Email address. |
| underName.**name** | [Text](https://developers.google.com/workspace/gmail/markup/reference/types/Text.md.txt) | (recommended for Confirmation Cards/Search Answers) Name of the Person. |
| **url** | [URL](https://developers.google.com/workspace/gmail/markup/reference/types/URL.md.txt) | Web page where reservation can be viewed. |