You are here

public function PaymentMethodBase::getPaymentCaptureResult in Payment 8.2

Gets the payment capture status.

Return value

\Drupal\payment\OperationResultInterface

Overrides PaymentMethodCapturePaymentInterface::getPaymentCaptureResult

1 call to PaymentMethodBase::getPaymentCaptureResult()
PaymentMethodBase::capturePayment in src/Plugin/Payment/Method/PaymentMethodBase.php
Captures the payment.

File

src/Plugin/Payment/Method/PaymentMethodBase.php, line 294

Class

PaymentMethodBase
A base payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

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