You are here

public function PaymentMethodBase::getPaymentRefundResult in Payment 8.2

Gets the payment refund status.

Return value

\Drupal\payment\OperationResultInterface

Overrides PaymentMethodRefundPaymentInterface::getPaymentRefundResult

1 call to PaymentMethodBase::getPaymentRefundResult()
PaymentMethodBase::refundPayment in src/Plugin/Payment/Method/PaymentMethodBase.php
Refunds the payment.

File

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

Class

PaymentMethodBase
A base payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

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