You are here

public function VerificationResult::isSuccess in Commerce Core 8.2

Gets whether the verification was successful.

Return value

bool TRUE if the verification was successful, FALSE otherwise.

File

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

Class

VerificationResult
Represents a tax number verification result.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxNumberType

Code

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