* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\Address\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Address\Command\EditOrderAddressCommand; use PrestaShop\PrestaShop\Core\Domain\Address\ValueObject\AddressId; /** * Interface for services that handles command which edits order address */ interface EditOrderAddressHandlerInterface { /** * @param EditOrderAddressCommand $command * * @return AddressId The newly created address id */ public function handle(EditOrderAddressCommand $command): AddressId; }