15 lines
358 B
PHP
15 lines
358 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace Modules\Core\Shipping\Contracts;
|
||
|
|
|
||
|
|
use Modules\Core\Shipping\DTOs\CarrierVoucher;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* A carrier that can look up a single voucher by number — so a voucher can
|
||
|
|
* be found and linked to an order before the next list sync.
|
||
|
|
*/
|
||
|
|
interface SupportsVoucherLookup
|
||
|
|
{
|
||
|
|
public function lookupVoucher(string $voucherNumber): ?CarrierVoucher;
|
||
|
|
}
|