Class VehicleRestrictionMaxWeight

  • java.lang.Object
    • com.here.sdk.routing.VehicleRestrictionMaxWeight

  • public final class VehicleRestrictionMaxWeight
    extends java.lang.Object

    VehicleRestrictionMaxWeight contains max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.

    • Field Detail

      • valueInKilograms

        public int valueInKilograms

        Max permitted weight during the trip, in kilograms.

    • Constructor Detail

      • VehicleRestrictionMaxWeight

        public VehicleRestrictionMaxWeight​(int valueInKilograms,
                                           @NonNull
                                           VehicleRestrictionMaxWeightType type)

        Created a new instance.

        Parameters:
        valueInKilograms -

        Max permitted weight during the trip, in kilograms.

        type -

        Represents the specific type of the maximum permitted weight restriction.

    • 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