OrderFilters
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.
Note: The filter query depends on the ApiLogicalOperator configured in the search. And this operator will be used to join the filters.
Example: if the operator is ApiLogicalOperator.AND, then the query will be like: id1 AND id2 AND id3 AND ... AND name1 AND name2 AND name3... If the operator is ApiLogicalOperator.OR, then the query will be like: id1 OR id2 OR id3 OR ... OR name1 OR name2 OR name3...
Constructors
Link copied to clipboard
constructor(ids: List<Int>? = null, routeIds: List<Int>? = null, states: List<OrderState>? = null, priorities: List<Int>? = null, totalOperators: List<Int>? = null, identifiers: List<String>? = null, businessUnits: List<String>? = null, dateInit: List<String>? = null, hourInit: List<String>? = null, edaOrigin: List<String>? = null, etaOrigin: List<String>? = null, eddOrigin: List<String>? = null, etdOrigin: List<String>? = null, edaDestination: List<String>? = null, etaDestination: List<String>? = null, eddDestination: List<String>? = null, etdDestination: List<String>? = null, fleet: List<FleetType>? = null, loadTypes: List<LoadType>? = null, resourceIds: List<Int>? = null, truckIds: List<Int>? = null, operatorIds: List<Int>? = null, objectIds: List<Int>? = null, additionalInfo: List<JsonObject>? = null, companyIds: List<Int>? = null, addedOnDates: List<String>? = null, updateOnDates: List<String>? = null)
Properties
Link copied to clipboard
Link copied to clipboard
List<JsonObject> the additional info of the orders to search/filter. If null, it will be ignored.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
List<OrderState> the states of the orders to search/filter. If null, it will be ignored.
Link copied to clipboard
Link copied to clipboard