GoogleApi.WalletObjects.V1.Model.FlightCarrier (google_api_wallet_objects v0.12.0)
View SourceAttributes
-
airlineAllianceLogo(type:GoogleApi.WalletObjects.V1.Model.Image.t, default:nil) - A logo for the airline alliance, displayed below the QR code that the passenger scans to board. -
airlineLogo(type:GoogleApi.WalletObjects.V1.Model.Image.t, default:nil) - A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view. -
airlineName(type:GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default:nil) - A localized name of the airline specified by carrierIataCode. If unset,issuer_nameorlocalized_issuer_namefromFlightClasswill be used for display purposes. eg: "Swiss Air" for "LX" -
carrierIataCode(type:String.t, default:nil) - Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this orcarrierIcaoCodeneeds to be provided forcarrierandoperatingCarrier. eg: "LX" for Swiss Air -
carrierIcaoCode(type:String.t, default:nil) - Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this orcarrierIataCodeneeds to be provided forcarrierandoperatingCarrier. eg: "EZY" for Easy Jet -
kind(type:String.t, default:nil) - Identifies what kind of resource this is. Value: the fixed string"walletobjects#flightCarrier". -
wideAirlineLogo(type:GoogleApi.WalletObjects.V1.Model.Image.t, default:nil) - The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.WalletObjects.V1.Model.FlightCarrier{ airlineAllianceLogo: GoogleApi.WalletObjects.V1.Model.Image.t() | nil, airlineLogo: GoogleApi.WalletObjects.V1.Model.Image.t() | nil, airlineName: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil, carrierIataCode: String.t() | nil, carrierIcaoCode: String.t() | nil, kind: String.t() | nil, wideAirlineLogo: GoogleApi.WalletObjects.V1.Model.Image.t() | nil }