* @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\Customer\Query; /** * Gets customer information for address creation. */ class GetCustomerForAddressCreation { /** * @var string */ private $customerEmail; /** * Query is used for customer search so email string might not be complete so no email validation * * @param string $customerEmail */ public function __construct(string $customerEmail) { $this->customerEmail = $customerEmail; } /** * @return string */ public function getCustomerEmail(): string { return $this->customerEmail; } }