| Package | Description |
|---|---|
| com.google.api.services.walletobjects.model |
| Modifier and Type | Method and Description |
|---|---|
TicketLeg |
TicketLeg.clone() |
TicketLeg |
TransitObject.getTicketLeg()
A single ticket leg contains departure and arrival information along with boarding and seating
information.
|
TicketLeg |
TicketLeg.set(String fieldName,
Object value) |
TicketLeg |
TicketLeg.setArrivalDateTime(String arrivalDateTime)
The date/time of arrival.
|
TicketLeg |
TicketLeg.setCarriage(String carriage)
The train or ship name/number that the passsenger needs to board.
|
TicketLeg |
TicketLeg.setDepartureDateTime(String departureDateTime)
The date/time of departure.
|
TicketLeg |
TicketLeg.setDestinationName(LocalizedString destinationName)
The destination name.
|
TicketLeg |
TicketLeg.setDestinationStationCode(String destinationStationCode)
The destination station code.
|
TicketLeg |
TicketLeg.setFareName(LocalizedString fareName)
Short description/name of the fare for this leg of travel.
|
TicketLeg |
TicketLeg.setOriginName(LocalizedString originName)
The name of the origin station.
|
TicketLeg |
TicketLeg.setOriginStationCode(String originStationCode)
The origin station code.
|
TicketLeg |
TicketLeg.setPlatform(String platform)
The platform or gate where the passenger can board the carriage.
|
TicketLeg |
TicketLeg.setTicketSeat(TicketSeat ticketSeat)
The reserved seat for the passenger(s).
|
TicketLeg |
TicketLeg.setTicketSeats(List<TicketSeat> ticketSeats)
The reserved seat for the passenger(s).
|
TicketLeg |
TicketLeg.setTransitOperatorName(LocalizedString transitOperatorName)
The name of the transit operator that is operating this leg of a trip.
|
TicketLeg |
TicketLeg.setTransitTerminusName(LocalizedString transitTerminusName)
Terminus station or destination of the train/bus/etc.
|
TicketLeg |
TicketLeg.setZone(String zone)
The zone of boarding within the platform.
|
| Modifier and Type | Method and Description |
|---|---|
List<TicketLeg> |
TransitObject.getTicketLegs()
Each ticket may contain one or more legs.
|
| Modifier and Type | Method and Description |
|---|---|
TransitObject |
TransitObject.setTicketLeg(TicketLeg ticketLeg)
A single ticket leg contains departure and arrival information along with boarding and seating
information.
|
| Modifier and Type | Method and Description |
|---|---|
TransitObject |
TransitObject.setTicketLegs(List<TicketLeg> ticketLegs)
Each ticket may contain one or more legs.
|
Copyright © 2011–2025 Google. All rights reserved.