Interface TravelB2BOrderService

All Known Implementing Classes:
DefaultTravelB2BOrderService

public interface TravelB2BOrderService
Interface for Travel B2B order service.
  • 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 data
      unitCodes - the unit codes
      email - the email
      startingDate - the starting date
      endingDate - the ending date
      costCenterUid - the cost center uid
      currency - 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 codes
      email - the email
      fromDate - the from date
      toDate - the to date
      costCenter - the cost center
      currencyIso - the currency iso
      Returns:
      the total for all the orders int the search