import { salesCalculations } from "../lib/calculations.js";
class DefaultSalesCalculationService {
  constructor(eventBus) {
    this.eventBus = eventBus;
  }
  calculateLine(opts) {
    return salesCalculations.calculateLine({ ...opts, eventBus: this.eventBus });
  }
  calculateDocumentTotals(opts) {
    return salesCalculations.calculateDocument({ ...opts, eventBus: this.eventBus });
  }
}
export {
  DefaultSalesCalculationService
};
//# sourceMappingURL=salesCalculationService.js.map
