
target.apidocs.com.google.api.services.walletobjects.model.FlightCarrier.html Maven / Gradle / Ivy
FlightCarrier (Google Wallet API v1-rev20241017-2.0.0)
com.google.api.services.walletobjects.model
Class FlightCarrier
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.walletobjects.model.FlightCarrier
-
public final class FlightCarrier
extends com.google.api.client.json.GenericJson
Model definition for FlightCarrier.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
FlightCarrier()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FlightCarrier
clone()
Image
getAirlineAllianceLogo()
A logo for the airline alliance, displayed below the QR code that the passenger scans to board.
Image
getAirlineLogo()
A logo for the airline described by carrierIataCode and localizedAirlineName.
LocalizedString
getAirlineName()
A localized name of the airline specified by carrierIataCode.
String
getCarrierIataCode()
Two character IATA airline code of the marketing carrier (as opposed to operating carrier).
String
getCarrierIcaoCode()
Three character ICAO airline code of the marketing carrier (as opposed to operating carrier).
String
getKind()
Identifies what kind of resource this is.
Image
getWideAirlineLogo()
The wide logo of the airline.
FlightCarrier
set(String fieldName,
Object value)
FlightCarrier
setAirlineAllianceLogo(Image airlineAllianceLogo)
A logo for the airline alliance, displayed below the QR code that the passenger scans to board.
FlightCarrier
setAirlineLogo(Image airlineLogo)
A logo for the airline described by carrierIataCode and localizedAirlineName.
FlightCarrier
setAirlineName(LocalizedString airlineName)
A localized name of the airline specified by carrierIataCode.
FlightCarrier
setCarrierIataCode(String carrierIataCode)
Two character IATA airline code of the marketing carrier (as opposed to operating carrier).
FlightCarrier
setCarrierIcaoCode(String carrierIcaoCode)
Three character ICAO airline code of the marketing carrier (as opposed to operating carrier).
FlightCarrier
setKind(String kind)
Identifies what kind of resource this is.
FlightCarrier
setWideAirlineLogo(Image wideAirlineLogo)
The wide logo of the airline.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAirlineAllianceLogo
public Image getAirlineAllianceLogo()
A logo for the airline alliance, displayed below the QR code that the passenger scans to board.
- Returns:
- value or
null
for none
-
setAirlineAllianceLogo
public FlightCarrier setAirlineAllianceLogo(Image airlineAllianceLogo)
A logo for the airline alliance, displayed below the QR code that the passenger scans to board.
- Parameters:
airlineAllianceLogo
- airlineAllianceLogo or null
for none
-
getAirlineLogo
public Image getAirlineLogo()
A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be
rendered at the top of the detailed card view.
- Returns:
- value or
null
for none
-
setAirlineLogo
public FlightCarrier setAirlineLogo(Image airlineLogo)
A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be
rendered at the top of the detailed card view.
- Parameters:
airlineLogo
- airlineLogo or null
for none
-
getAirlineName
public LocalizedString getAirlineName()
A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or
`localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air"
for "LX"
- Returns:
- value or
null
for none
-
setAirlineName
public FlightCarrier setAirlineName(LocalizedString airlineName)
A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or
`localized_issuer_name` from `FlightClass` will be used for display purposes. eg: "Swiss Air"
for "LX"
- Parameters:
airlineName
- airlineName or null
for none
-
getCarrierIataCode
public String getCarrierIataCode()
Two character IATA airline code of the marketing carrier (as opposed to operating carrier).
Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and
`operatingCarrier`. eg: "LX" for Swiss Air
- Returns:
- value or
null
for none
-
setCarrierIataCode
public FlightCarrier setCarrierIataCode(String carrierIataCode)
Two character IATA airline code of the marketing carrier (as opposed to operating carrier).
Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and
`operatingCarrier`. eg: "LX" for Swiss Air
- Parameters:
carrierIataCode
- carrierIataCode or null
for none
-
getCarrierIcaoCode
public String getCarrierIcaoCode()
Three character ICAO airline code of the marketing carrier (as opposed to operating carrier).
Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and
`operatingCarrier`. eg: "EZY" for Easy Jet
- Returns:
- value or
null
for none
-
setCarrierIcaoCode
public FlightCarrier setCarrierIcaoCode(String carrierIcaoCode)
Three character ICAO airline code of the marketing carrier (as opposed to operating carrier).
Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and
`operatingCarrier`. eg: "EZY" for Easy Jet
- Parameters:
carrierIcaoCode
- carrierIcaoCode or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string
`"walletobjects#flightCarrier"`.
- Returns:
- value or
null
for none
-
setKind
public FlightCarrier setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
`"walletobjects#flightCarrier"`.
- Parameters:
kind
- kind or null
for none
-
getWideAirlineLogo
public Image getWideAirlineLogo()
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.
- Returns:
- value or
null
for none
-
setWideAirlineLogo
public FlightCarrier setWideAirlineLogo(Image wideAirlineLogo)
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.
- Parameters:
wideAirlineLogo
- wideAirlineLogo or null
for none
-
set
public FlightCarrier set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public FlightCarrier clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy