GoogleApi.WalletObjects.V1.Model.TicketSeat (google_api_wallet_objects v0.12.0)

View Source

Attributes

  • coach (type: String.t, default: nil) - The identifier of the train car or coach in which the ticketed seat is located. Eg. "10"
  • customFareClass (type: GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default: nil) - A custome fare class to be used if no fareClass applies. Both fareClass and customFareClass may not be set.
  • fareClass (type: String.t, default: nil) - The fare class of the ticketed seat.
  • seat (type: String.t, default: nil) - The identifier of where the ticketed seat is located. Eg. "42". If there is no specific identifier, use seatAssigment instead.
  • seatAssignment (type: GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default: nil) - The passenger's seat assignment. Eg. "no specific seat". To be used when there is no specific identifier to use in seat.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.TicketSeat{
  coach: String.t() | nil,
  customFareClass: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil,
  fareClass: String.t() | nil,
  seat: String.t() | nil,
  seatAssignment: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.