Order
data class Order(val id: Int = INT_INVALID, val routeId: Int = INT_INVALID, val state: OrderState = OrderState.UNKNOWN, val priority: Int = INT_INVALID, val totalOperators: Int = INT_INVALID, val identifier: String = EMPTY_STR, val businessUnit: String = EMPTY_STR, val shipment: List<Shipment> = emptyList(), val dateInit: String = EMPTY_STR, val hourInit: String = EMPTY_STR, val edaOrigin: String = EMPTY_STR, val etaOrigin: String = EMPTY_STR, val eddOrigin: String = EMPTY_STR, val etdOrigin: String = EMPTY_STR, val edaDestination: String = EMPTY_STR, val etaDestination: String = EMPTY_STR, val eddDestination: String = EMPTY_STR, val etdDestination: String = EMPTY_STR, val fleet: FleetType = FleetType.UNKNOWN, val loadType: LoadType = LoadType.UNKNOWN, val resourceIds: List<Int> = emptyList(), val truckId: Int = INT_INVALID, val operatorIds: List<Int> = emptyList(), val objectId: Int = INT_INVALID, val additionalInfo: JsonObject = JsonObject(mapOf()), val companyId: Int = INT_INVALID, val addedOnDate: String = EMPTY_STR, val updateOnDate: String = EMPTY_STR)
Order is the data model for the order.
Constructors
Link copied to clipboard
constructor(id: Int = INT_INVALID, routeId: Int = INT_INVALID, state: OrderState = OrderState.UNKNOWN, priority: Int = INT_INVALID, totalOperators: Int = INT_INVALID, identifier: String = EMPTY_STR, businessUnit: String = EMPTY_STR, shipment: List<Shipment> = emptyList(), dateInit: String = EMPTY_STR, hourInit: String = EMPTY_STR, edaOrigin: String = EMPTY_STR, etaOrigin: String = EMPTY_STR, eddOrigin: String = EMPTY_STR, etdOrigin: String = EMPTY_STR, edaDestination: String = EMPTY_STR, etaDestination: String = EMPTY_STR, eddDestination: String = EMPTY_STR, etdDestination: String = EMPTY_STR, fleet: FleetType = FleetType.UNKNOWN, loadType: LoadType = LoadType.UNKNOWN, resourceIds: List<Int> = emptyList(), truckId: Int = INT_INVALID, operatorIds: List<Int> = emptyList(), objectId: Int = INT_INVALID, additionalInfo: JsonObject = JsonObject(mapOf()), companyId: Int = INT_INVALID, addedOnDate: String = EMPTY_STR, updateOnDate: String = EMPTY_STR)
Properties
Link copied to clipboard
String The added on date.
Link copied to clipboard
JsonObject The additional info.
Link copied to clipboard
String The business unit.
Link copied to clipboard
String The eda destination.
Link copied to clipboard
String The edd destination.
Link copied to clipboard
String The eta destination.
Link copied to clipboard
String The etd destination.
Link copied to clipboard
String The identifier.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
OrderState The state name. Current state of the order.
Link copied to clipboard
Int The total operators.
Link copied to clipboard
String The update on date.