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