GoogleApi.WalletObjects.V1.Model.TicketRestrictions (google_api_wallet_objects v0.12.0)
View SourceAttributes
-
otherRestrictions
(type:GoogleApi.WalletObjects.V1.Model.LocalizedString.t
, default:nil
) - Extra restrictions that don't fall under the "route" or "time" categories. -
routeRestrictions
(type:GoogleApi.WalletObjects.V1.Model.LocalizedString.t
, default:nil
) - Restrictions about routes that may be taken. For example, this may be the string "Reserved CrossCountry trains only". -
routeRestrictionsDetails
(type:GoogleApi.WalletObjects.V1.Model.LocalizedString.t
, default:nil
) - More details about the aboverouteRestrictions
. -
timeRestrictions
(type:GoogleApi.WalletObjects.V1.Model.LocalizedString.t
, default:nil
) - Restrictions about times this ticket may be used.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.WalletObjects.V1.Model.TicketRestrictions{ otherRestrictions: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil, routeRestrictions: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil, routeRestrictionsDetails: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil, timeRestrictions: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil }