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

  • public final class TruckAmenities
    extends java.lang.Object

    Truck amenities struct, represents availability (true/false) for each feature, except shower_count - number of showers, if data is available. Note: This is a BETA feature and thus subject to change.

    • Field Detail

      • hasParking

        public boolean hasParking

        Has parking

      • hasSecureParking

        public boolean hasSecureParking

        Has secure parking

      • hasCarWash

        public boolean hasCarWash

        Has car wash

      • hasTruckWash

        public boolean hasTruckWash

        Has truck wash

      • hasHighCanopy

        public boolean hasHighCanopy

        Has high canopy

      • hasIdleReductionSystem

        public boolean hasIdleReductionSystem

        Has idle reduction system

      • hasTruckScales

        public boolean hasTruckScales

        Has truck scales

      • hasPowerSupply

        public boolean hasPowerSupply

        Has power supply

      • hasChemicalToiletDisposal

        public boolean hasChemicalToiletDisposal

        Has chemical toilet disposal

      • hasTruckStop

        public boolean hasTruckStop

        Has truck stop

      • hasWifi

        public boolean hasWifi

        Has WiFi

      • hasTruckService

        public boolean hasTruckService

        Has truck service

      • hasShower

        public boolean hasShower

        Has shower

      • showerCount

        @Nullable
        public java.lang.Integer showerCount

        Shower count, if shower data is present

    • Constructor Detail

      • TruckAmenities

        public TruckAmenities()

        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