You are here

public function Unavailable::getPaymentExecutionResult in Payment 8.2

Gets the payment execution status.

Return value

\Drupal\payment\OperationResultInterface

Overrides PaymentMethodInterface::getPaymentExecutionResult

File

src/Plugin/Payment/Method/Unavailable.php, line 77

Class

Unavailable
A payment method controller that essentially disables payment methods.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

public function getPaymentExecutionResult() {
  return new OperationResult();
}