public final class TicketRestrictions
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 |
|---|
TicketRestrictions() |
| Modifier and Type | Method and Description |
|---|---|
TicketRestrictions |
clone() |
LocalizedString |
getOtherRestrictions()
Extra restrictions that don't fall under the "route" or "time" categories.
|
LocalizedString |
getRouteRestrictions()
Restrictions about routes that may be taken.
|
LocalizedString |
getRouteRestrictionsDetails()
More details about the above `routeRestrictions`.
|
LocalizedString |
getTimeRestrictions()
Restrictions about times this ticket may be used.
|
TicketRestrictions |
set(String fieldName,
Object value) |
TicketRestrictions |
setOtherRestrictions(LocalizedString otherRestrictions)
Extra restrictions that don't fall under the "route" or "time" categories.
|
TicketRestrictions |
setRouteRestrictions(LocalizedString routeRestrictions)
Restrictions about routes that may be taken.
|
TicketRestrictions |
setRouteRestrictionsDetails(LocalizedString routeRestrictionsDetails)
More details about the above `routeRestrictions`.
|
TicketRestrictions |
setTimeRestrictions(LocalizedString timeRestrictions)
Restrictions about times this ticket may be used.
|
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 LocalizedString getOtherRestrictions()
null for nonepublic TicketRestrictions setOtherRestrictions(LocalizedString otherRestrictions)
otherRestrictions - otherRestrictions or null for nonepublic LocalizedString getRouteRestrictions()
null for nonepublic TicketRestrictions setRouteRestrictions(LocalizedString routeRestrictions)
routeRestrictions - routeRestrictions or null for nonepublic LocalizedString getRouteRestrictionsDetails()
null for nonepublic TicketRestrictions setRouteRestrictionsDetails(LocalizedString routeRestrictionsDetails)
routeRestrictionsDetails - routeRestrictionsDetails or null for nonepublic LocalizedString getTimeRestrictions()
null for nonepublic TicketRestrictions setTimeRestrictions(LocalizedString timeRestrictions)
timeRestrictions - timeRestrictions or null for nonepublic TicketRestrictions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TicketRestrictions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.