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

View Source

Attributes

  • airportIataCode (type: String.t, default: nil) - Three character IATA airport code. This is a required field for origin and destination. Eg: "SFO"
  • airportNameOverride (type: GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default: nil) - Optional field that overrides the airport city name defined by IATA. By default, Google takes the airportIataCode provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code "LTN", IATA website tells us that the corresponding airport city is "London". If this field is not populated, Google would display "London". However, populating this field with a custom name (eg: "London Luton") would override it.
  • gate (type: String.t, default: nil) - A name of the gate. Eg: "B59" or "59"
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#airportInfo".
  • terminal (type: String.t, default: nil) - Terminal name. Eg: "INTL" or "I"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.AirportInfo{
  airportIataCode: String.t() | nil,
  airportNameOverride:
    GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil,
  gate: String.t() | nil,
  kind: String.t() | nil,
  terminal: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.