CarSpecifications (API Reference)
Class CarSpecifications
Car specifications contain vehicle related attributes. Examples: Dimensions, weight, axle count. Only the fields that are set are considered for restriction handling.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDefines total number of axles in the vehicle.Car weight including trailers and shipped goods in kilograms.Car height in centimeters.Car length in centimeters.Defines total number of axles across all the trailers attached to the vehicle.Defines number of trailers attached to the vehicle.Car width in centimeters. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
grossWeightInKilograms
Car weight including trailers and shipped goods in kilograms. The provided value must be greater than or equal to 0. By default, it is not set. Note: This parameter is limited to a maximum weight of 4250 kg without trailer and 7550 kg with trailer.
-
heightInCentimeters
Car height in centimeters. The provided value must be in the range [0, 5000]. By default, it is not set.
-
widthInCentimeters
Car width in centimeters. The provided value must be in the range [0, 5000]. By default, it is not set.
-
lengthInCentimeters
Car length in centimeters. The provided value must be in the range [0, 30000]. By default, it is not set.
-
axleCount
Defines total number of axles in the vehicle. The provided value must be greater than or equal to 2. By default, it is not set. Route calculation: When not set, possible axle count restrictions will not be taken into consideration. When specifying
trailerAxleCount, thenaxleCountis required and must be greater thantrailerAxleCount. -
trailerCount
Defines number of trailers attached to the vehicle. The provided value must be in the range [0, 1]. By default, it is not set. When specifying
trailerAxleCount, thentrailerCountis required and must be greater than 0. -
trailerAxleCount
Defines total number of axles across all the trailers attached to the vehicle. This number is included in
axleCount, hencetrailerAxleCountmust be less thanaxleCountand greater than or equal to 1.axleCountandtrailerCountare required to specifytrailerAxleCount. By default, it is not set.
-
-
Constructor Details
-
CarSpecifications
public CarSpecifications()Creates a new instance.
-
-
Method Details