import { inject, Injectable } from '@angular/core';
import { CheckoutPrintService } from '../services';
import { PrintOrderConfirmation } from '../schemas';

@Injectable({ providedIn: 'root' })
export class CheckoutPrintFacade {
  #checkoutPrintService = inject(CheckoutPrintService);

  printOrderConfirmation(params: PrintOrderConfirmation) {
    return this.#checkoutPrintService.printOrderConfirmation(params);
  }
}
