You are here

public function Basic::setRefund in Payment 8.2

Sets whether or not refunds are supported.

Parameters

bool $refund: Whether or not to support refunds.

Return value

$this

1 call to Basic::setRefund()
Basic::submitConfigurationForm in src/Plugin/Payment/MethodConfiguration/Basic.php
Form submission handler.

File

src/Plugin/Payment/MethodConfiguration/Basic.php, line 201

Class

Basic
Provides the configuration for the payment_basic payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\MethodConfiguration

Code

public function setRefund($refund) {
  $this->configuration['refund'] = $refund;
  return $this;
}