ldc-cocotte/domain/Ports/Services/RegateService.php

24 lines
548 B
PHP

<?php
declare(strict_types=1);
namespace Domain\Ports\Services;
use Carbon\CarbonImmutable;
use Domain\Models\ValueObjects\Matricule;
use Domain\Models\ValueObjects\OrderReference;
interface RegateService
{
/**
* @param \Domain\Events\Dto\OrderPlacedLine[] $lines
*
* @throws \Domain\Exceptions\OrderTunnel\RegateExportFailedException
*/
public function processOrder(
OrderReference $reference,
Matricule $employeeMatricule,
CarbonImmutable $pickupDay,
array $lines,
): void;
}