domain = $domain; $this->identifierType = $identifierType; $this->normalizedValue = $normalizedValue; $this->confidence = $confidence; $this->hint = $hint; } public function getDomain(): string { return $this->domain; } public function getIdentifierType(): string { return $this->identifierType; } public function getNormalizedValue(): string { return $this->normalizedValue; } public function getConfidence(): string { return $this->confidence; } public function getHint(): ?string { return $this->hint; } public function isHighConfidence(): bool { return $this->confidence === self::CONFIDENCE_HIGH; } public function isMediumConfidence(): bool { return $this->confidence === self::CONFIDENCE_MEDIUM; } public function isLowConfidence(): bool { return $this->confidence === self::CONFIDENCE_LOW; } }