Interface OrderBookingService

All Known Implementing Classes:
OrderBookingServiceImpl

public interface OrderBookingService
this service contains all the order booking logic
  • Method Details

    • bookOrders

      Iterable<Entity> bookOrders(EntityList orders)
      calls OrderBookingService.bookOrder for every entity in orders
      Parameters:
      orders - entity list to book
      Returns:
      a list of the created debitors
    • bookOrder

      Entity bookOrder(Entity order)
      creates a debitor with vouchers and dunning levels for a order also set the billing date and status on order
      Parameters:
      order - the order to book
      Returns:
      the created debitor
    • getBookOrderTask

      PersistTask<Entity,Entity> getBookOrderTask()
      returns the persist task used in OrderBookingService.bookOrder
      Returns:
      the persist task used to create a debitor