Package-level declarations
Types
Link copied to clipboard
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.
Link copied to clipboard
data class OrderData(val id: Int, val routeId: Int, val companyId: Int, val state: OrderState, val priority: Int, val totalOperators: Int, val identifier: String, val businessUnit: String, val shipment: List<ShipmentInfo>, val dateInit: String, val edaOrigin: String, val edaDestination: String, val etaDestination: String, val skillId: List<Int>, val fleet: FleetType, val loadType: LoadType, val resourceId: List<Int>, val truckId: Int, val operatorId: List<Int>, val addedOn: String, val updateOn: String)
OrderData is the data model for the order.
Link copied to clipboard
data class OrderFilters(val ids: List<Int>? = null, val routeIds: List<Int>? = null, val states: List<OrderState>? = null, val priorities: List<Int>? = null, val totalOperators: List<Int>? = null, val identifiers: List<String>? = null, val businessUnits: List<String>? = null, val dateInit: List<String>? = null, val hourInit: List<String>? = null, val edaOrigin: List<String>? = null, val etaOrigin: List<String>? = null, val eddOrigin: List<String>? = null, val etdOrigin: List<String>? = null, val edaDestination: List<String>? = null, val etaDestination: List<String>? = null, val eddDestination: List<String>? = null, val etdDestination: List<String>? = null, val fleet: List<FleetType>? = null, val loadTypes: List<LoadType>? = null, val resourceIds: List<Int>? = null, val truckIds: List<Int>? = null, val operatorIds: List<Int>? = null, val objectIds: List<Int>? = null, val additionalInfo: List<JsonObject>? = null, val companyIds: List<Int>? = null, val addedOnDates: List<String>? = null, val updateOnDates: List<String>? = null)
OrderFilters is a data class that represents the filters to apply on the API search to get the Order registers.
Link copied to clipboard
data class OrderOrderSort(val id: ApiSortType? = null, val routeId: ApiSortType? = null, val state: ApiSortType? = null, val priority: ApiSortType? = null, val totalOperators: ApiSortType? = null, val identifier: ApiSortType? = null, val businessUnit: ApiSortType? = null, val shipment: ApiSortType? = null, val dateInit: ApiSortType? = null, val hourInit: ApiSortType? = null, val edaOrigin: ApiSortType? = null, val etaOrigin: ApiSortType? = null, val eddOrigin: ApiSortType? = null, val etdOrigin: ApiSortType? = null, val edaDestination: ApiSortType? = null, val etaDestination: ApiSortType? = null, val eddDestination: ApiSortType? = null, val etdDestination: ApiSortType? = null, val fleet: ApiSortType? = null, val loadType: ApiSortType? = null, val resourceIds: ApiSortType? = null, val truckId: ApiSortType? = null, val operatorIds: ApiSortType? = null, val objectId: ApiSortType? = null, val additionalInfo: ApiSortType? = null, val companyId: ApiSortType? = null, val addedOnDate: ApiSortType? = null, val updateOnDate: ApiSortType? = null)
OrderOrderSort is a data class that represents the order to sort the Order registers on the API.
Link copied to clipboard
data class Shipment(val portId: Int, val empty: Boolean, val pickups: List<ShipmentItem>, val deliveries: List<ShipmentItem>)
Shipment is a data class that contains information about a shipment.
Link copied to clipboard
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.
Link copied to clipboard
data class ShipmentItem(val skillIds: List<Int> = emptyList(), val capacityInfo: List<CapacityInfo> = emptyList())
ShipmentItem is a data class that contains information about a pickup or delivery.