You are here

public function Basic::getRefundStatusId in Payment 8.2

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

Gets the status to set on payment refund.

Return value

string The plugin ID of the payment status to set.

2 calls to Basic::getRefundStatusId()
Basic::doRefundPayment in src/Plugin/Payment/Method/Basic.php
Performs the actual payment refund.
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 131

Class

Basic
A basic payment method that does not transfer money.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

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