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\paymentCode
public function __construct(ResponseInterface $response = NULL) {
  $this->response = $response;
}