public final class TicketSeat
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Wallet API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TicketSeat() |
| Modifier and Type | Method and Description |
|---|---|
TicketSeat |
clone() |
String |
getCoach()
The identifier of the train car or coach in which the ticketed seat is located.
|
LocalizedString |
getCustomFareClass()
A custome fare class to be used if no `fareClass` applies.
|
String |
getFareClass()
The fare class of the ticketed seat.
|
String |
getSeat()
The identifier of where the ticketed seat is located.
|
LocalizedString |
getSeatAssignment()
The passenger's seat assignment.
|
TicketSeat |
set(String fieldName,
Object value) |
TicketSeat |
setCoach(String coach)
The identifier of the train car or coach in which the ticketed seat is located.
|
TicketSeat |
setCustomFareClass(LocalizedString customFareClass)
A custome fare class to be used if no `fareClass` applies.
|
TicketSeat |
setFareClass(String fareClass)
The fare class of the ticketed seat.
|
TicketSeat |
setSeat(String seat)
The identifier of where the ticketed seat is located.
|
TicketSeat |
setSeatAssignment(LocalizedString seatAssignment)
The passenger's seat assignment.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCoach()
null for nonepublic TicketSeat setCoach(String coach)
coach - coach or null for nonepublic LocalizedString getCustomFareClass()
null for nonepublic TicketSeat setCustomFareClass(LocalizedString customFareClass)
customFareClass - customFareClass or null for nonepublic String getFareClass()
null for nonepublic TicketSeat setFareClass(String fareClass)
fareClass - fareClass or null for nonepublic String getSeat()
null for nonepublic TicketSeat setSeat(String seat)
seat - seat or null for nonepublic LocalizedString getSeatAssignment()
null for nonepublic TicketSeat setSeatAssignment(LocalizedString seatAssignment)
seatAssignment - seatAssignment or null for nonepublic TicketSeat set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TicketSeat clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.