<?php

namespace Myvetshop\Module\Clinique\Accounting\Export\Exporter\Provider;

use Myvetshop\Module\Clinique\Accounting\Export\Model\SimpleAccountingLineInterface;

/**
 * @template T of \OrderInvoice|\OrderSlip
 */
interface LineProviderInterface
{
    /**
     * @param T $document
     *
     * @return list<SimpleAccountingLineInterface>
     */
    public function getAccountingLines($document, \Order $order): array;
}
