Class VehicleRestrictionMaxWeight

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

public final class VehicleRestrictionMaxWeight extends Object

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

  • Field Details

    • valueInKilograms

      public int valueInKilograms

      Max permitted weight during the trip, in kilograms.

    • type

      @NonNull public VehicleRestrictionMaxWeightType type

      Represents the specific type of the maximum permitted weight restriction.

  • Constructor Details

    • 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 Details