Interface OrderBookingService

All Known Implementing Classes:
OrderBookingServiceImpl

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

    Modifier and Type
    Method
    Description
    creates a debitor with vouchers and dunning levels for a order also set the billing date and status on order
    calls OrderBookingService.bookOrder for every entity in orders
  • Method Details

    • bookOrders

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

      Entity bookOrder(Entity order) throws PersistException
      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
      Throws:
      PersistException