Class FuelAdditive

  • java.lang.Object
    • com.here.sdk.search.FuelAdditive

  • public final class FuelAdditive
    extends java.lang.Object

    Contains fuel additive information for generic fuel type.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Boolean availableAtPump
      Indicates if the fuel additive is available at the pump or not.
      java.lang.Boolean availableInCans
      Indicates if the fuel additive is available in cans or not.
      FuelAdditiveType type
      The type of the fuel additive.
    • Constructor Summary

      Constructors 
      Constructor Description
      FuelAdditive()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        @NonNull
        public FuelAdditiveType type

        The type of the fuel additive. For now, only AUS 32 is supported.

      • availableInCans

        @Nullable
        public java.lang.Boolean availableInCans

        Indicates if the fuel additive is available in cans or not. null means information is unknown.

      • availableAtPump

        @Nullable
        public java.lang.Boolean availableAtPump

        Indicates if the fuel additive is available at the pump or not. null means information is unknown.

    • Constructor Detail

      • FuelAdditive

        public FuelAdditive()

        Creates a new instance.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object