All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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

    • Constructor Detail

      • FlightCarrier

        public FlightCarrier()
    • 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