ShipmentInfo

data class ShipmentInfo(val id: String, val portId: Int, val empty: Boolean, val havePickup: Boolean, val haveDelivery: Boolean)

ShipmentInfo is a data class that contains information about a shipment.

Constructors

Link copied to clipboard
constructor(id: String, portId: Int, empty: Boolean, havePickup: Boolean, haveDelivery: Boolean)

Properties

Link copied to clipboard

Boolean Indicates whether the shipment is empty or not.

Link copied to clipboard

Boolean Indicates whether the shipment has to make a delivery or not.

Link copied to clipboard

Boolean Indicates whether the shipment has to make a pickup or not.

Link copied to clipboard
val id: String

String Is a local id.

Link copied to clipboard
val portId: Int

Int The ID of the port where the shipment is located.