You are here

public function VerificationResult::isFailure in Commerce Core 8.2

Gets whether the verification failed.

Return value

bool TRUE if the verification failed, FALSE otherwise.

File

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

Class

VerificationResult
Represents a tax number verification result.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxNumberType

Code

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