You are here

public function OperationResult::isCompleted in Payment 8.2

Gets whether the operation is completed.

Return value

bool Whether the operation is completed. When FALSE is returned, self::getCompletionResponse() MUST return a response.

Overrides OperationResultInterface::isCompleted

File

src/OperationResult.php, line 32

Class

OperationResult
Provides an operation result.

Namespace

Drupal\payment

Code

public function isCompleted() {
  return is_null($this->response);
}