* @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\AddCustomerAddressCommand; use PrestaShop\PrestaShop\Core\Domain\Address\ValueObject\AddressId; /** * Interface for service that handles command which adds new customer address */ interface AddCustomerAddressHandlerInterface { /** * @param AddCustomerAddressCommand $command * * @return AddressId */ public function handle(AddCustomerAddressCommand $command): AddressId; }