You are here

public function VerificationResult::isUnknown in Commerce Core 8.2

Gets whether the verification state is unknown.

Used for cases where the remote service is temporarily unavailable.

Return value

bool TRUE if the verification state is unknown, FALSE otherwise.

File

modules/tax/src/Plugin/Commerce/TaxNumberType/VerificationResult.php, line 126

Class

VerificationResult
Represents a tax number verification result.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxNumberType

Code

public function isUnknown() : bool {
  return $this->state == self::STATE_UNKNOWN;
}