Feat: Shipping functionalities redesign, elta courier integration, commenting out acs since no integration can happen, flow updates
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Core\Shipping\Contracts;
|
||||
|
||||
use Modules\Core\Shipping\Enums\ExtraService;
|
||||
|
||||
/**
|
||||
* A carrier that offers extra services (Saturday delivery, insurance, …).
|
||||
* Only the carrier knows its own codes — the rest of the app deals in the
|
||||
* normalized ExtraService cases.
|
||||
*/
|
||||
interface SupportsExtraServices
|
||||
{
|
||||
/**
|
||||
* The services this carrier offers, keyed by ExtraService value, each
|
||||
* mapped to the carrier's own code.
|
||||
*
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function extraServices(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user