You are here

public function VerificationResult::__construct in Commerce Core 8.2

Constructs a new VerificationResult object.

Parameters

string $state: The state. One of the STATE_ constants.

int $timestamp: The timestamp.

array $data: The data. Optional.

File

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

Class

VerificationResult
Represents a tax number verification result.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxNumberType

Code

public function __construct(string $state, int $timestamp, array $data = []) {
  $this->state = $state;
  $this->timestamp = $timestamp;
  $this->data = $data;
}