GetAndSearchOrdersByPage
class GetAndSearchOrdersByPage
GetAndSearchOrdersByPage gets orders from the API with pagination and filtering support.
Functions
Link copied to clipboard
suspend operator fun invoke(fields: List<OrderProperty> = OrderProperty.entries, filters: OrderFilters? = null, logicalOperator: ApiLogicalOperator = ApiLogicalOperator.AND, orderSort: OrderOrderSort? = null, page: Int = 1, pageQuantity: Int = DEFAULT_RECORD_QUANTITY_PER_PAGE, searchType: ApiSearchType = ApiSearchType.EXACT, sessionToken: String? = null): ResultS1SDK<DataSet<Order>, ErrorS1SDK>
Gets Order models from the API for a specific page. You can specify extra filters to apply on the search.