18 lines
357 B
PHP
18 lines
357 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace App\Domain\Order\Repository;
|
||
|
|
|
||
|
|
use App\Domain\Order\Invoice;
|
||
|
|
use Symfony\Component\Uid\Uuid;
|
||
|
|
|
||
|
|
interface InvoiceRepositoryInterface
|
||
|
|
{
|
||
|
|
public function findById(Uuid $id): ?Invoice;
|
||
|
|
|
||
|
|
public function findByFrappeInvoiceId(string $frappeInvoiceId): ?Invoice;
|
||
|
|
|
||
|
|
public function save(Invoice $invoice): void;
|
||
|
|
}
|