You are here

public function OperationResult::__construct in Payment 8.2

Creates a new instance.

Parameters

\Drupal\payment\Response\ResponseInterface|null $response: A response or NULL if the operation is completed.

File

src/OperationResult.php, line 25

Class

OperationResult
Provides an operation result.

Namespace

Drupal\payment

Code

public function __construct(ResponseInterface $response = NULL) {
  $this->response = $response;
}