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
val addedOnDates: List<String>? = null

List<String> the added on dates of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val additionalInfo: List<JsonObject>? = null

List<JsonObject> the additional info of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val businessUnits: List<String>? = null

List<String> the business units of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val companyIds: List<Int>? = null

List<Int> the company ids of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val dateInit: List<String>? = null

List<String> the date init of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val edaDestination: List<String>? = null

List<String> the eda destination of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val edaOrigin: List<String>? = null

List<String> the eda origin of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val eddDestination: List<String>? = null

List<String> the edd destination of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val eddOrigin: List<String>? = null

List<String> the edd origin of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val etaDestination: List<String>? = null

List<String> the eta destination of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val etaOrigin: List<String>? = null

List<String> the eta origin of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val etdDestination: List<String>? = null

List<String> the etd destination of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val etdOrigin: List<String>? = null

List<String> the etd origin of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val fleet: List<FleetType>? = null

List<FleetType> the fleet of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val hourInit: List<String>? = null

List<String> the hour init of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val identifiers: List<String>? = null

List<String> the identifiers of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val ids: List<Int>? = null

List<Int> the ids of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val loadTypes: List<LoadType>? = null

List<LoadType> the load types of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val objectIds: List<Int>? = null

List<Int> the object ids of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val operatorIds: List<Int>? = null

List<Int> the operator ids of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val priorities: List<Int>? = null

List<Int> the priorities of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val resourceIds: List<Int>? = null

List<Int> the resource ids of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val routeIds: List<Int>? = null

List<Int> the route ids of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val states: List<OrderState>? = null

List<OrderState> the states of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val totalOperators: List<Int>? = null

List<Int> the total operators of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val truckIds: List<Int>? = null

List<Int> the truck ids of the orders to search/filter. If null, it will be ignored.

Link copied to clipboard
val updateOnDates: List<String>? = null

List<String> the update on dates of the orders to search/filter. If null, it will be ignored.