DimensionalTraits

data class DimensionalTraits @JvmOverloads constructor(var totalWidth: Int = 0, var totalHeight: Int = 0, var totalLength: Int = 0, var totalWeight: Float = 0.0f, var payloadCapacity: Float = 0.0f, var trailers: List<Trailer> = emptyList(), var wheeledVehicle: WheeledVehicle? = null, var semiTrailer: SemiTrailer? = null) : Parcelable

Constructors

Link copied to clipboard
fun DimensionalTraits(totalWidth: Int = 0, totalHeight: Int = 0, totalLength: Int = 0, totalWeight: Float = 0.0f, payloadCapacity: Float = 0.0f, trailers: List<Trailer> = emptyList(), wheeledVehicle: WheeledVehicle? = null, semiTrailer: SemiTrailer? = null)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

vehicle payload capacity in kilograms

Link copied to clipboard

optional SemiTrailer object

Link copied to clipboard
var totalHeight: Int = 0

vehicle total height in millimeters

Link copied to clipboard
var totalLength: Int = 0

vehicle total length in millimeters

Link copied to clipboard
var totalWeight: Float = 0.0f

vehicle total weight in kilograms

Link copied to clipboard
var totalWidth: Int = 0

vehicle total width in millimeters

Link copied to clipboard

list of attached Trailer objects (may be empty)

Link copied to clipboard

optional WheeledVehicle object