You are here

public function Basic::getRefund in Payment 8.2

Same name in this branch
  1. 8.2 src/Plugin/Payment/MethodConfiguration/Basic.php \Drupal\payment\Plugin\Payment\MethodConfiguration\Basic::getRefund()
  2. 8.2 src/Plugin/Payment/Method/Basic.php \Drupal\payment\Plugin\Payment\Method\Basic::getRefund()

Gets whether or not capture is supported.

Parameters

bool: Whether or not to support capture.

1 call to Basic::getRefund()
Basic::doRefundPaymentAccess in src/Plugin/Payment/Method/Basic.php
Performs a payment method-specific access check for payment refunds.

File

src/Plugin/Payment/Method/Basic.php, line 141

Class

Basic
A basic payment method that does not transfer money.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

public function getRefund() {
  return $this->pluginDefinition['refund'];
}