Interface TravelB2BOrderService
- All Known Implementing Classes:
DefaultTravelB2BOrderService
public interface TravelB2BOrderService
Interface for Travel B2B order service.
-
Method Summary
Modifier and TypeMethodDescriptionfindTotal(List<String> unitCodes, String email, Date fromDate, Date toDate, String costCenter, String currencyIso) Find total double.getPagedOrders(PageableData pageableData, List<String> unitCodes, String email, Date startingDate, Date endingDate, String costCenterUid, String currency) Gets paged orders.
-
Method Details
-
getPagedOrders
SearchPageData<OrderModel> getPagedOrders(PageableData pageableData, List<String> unitCodes, String email, Date startingDate, Date endingDate, String costCenterUid, String currency) Gets paged orders.- Parameters:
pageableData- the pageable dataunitCodes- the unit codesemail- the emailstartingDate- the starting dateendingDate- the ending datecostCenterUid- the cost center uidcurrency- the currency- Returns:
- a list of paginated orders for the given parameters
-
findTotal
Double findTotal(List<String> unitCodes, String email, Date fromDate, Date toDate, String costCenter, String currencyIso) Find total double.- Parameters:
unitCodes- the unit codesemail- the emailfromDate- the from datetoDate- the to datecostCenter- the cost centercurrencyIso- the currency iso- Returns:
- the total for all the orders int the search
-