return false;
} private function requiredVatIdField(string
$countryId, SalesChannelContext
$context): bool
{ $country =
$this->countryRepository->
search(new Criteria([$countryId]),
$context)->
get($countryId);
if (!
$country instanceof CountryEntity
) { throw CustomerException::
countryNotFound($countryId);
} return $country->
getVatIdRequired();
} private function getConfirmUrl(SalesChannelContext
$context, CustomerEntity
$customer): string
{ $urlTemplate =
$this->systemConfigService->
get( 'core.loginRegistration.confirmationUrl',
$context->
getSalesChannelId() );
if (!\
is_string($urlTemplate)) { $urlTemplate = '/registration/confirm?em=%%HASHEDEMAIL%%&hash=%%SUBSCRIBEHASH%%';
}