You are here

public function MolliePayment::setCapture in Mollie Payment 8.2

Sets whether or not capture is supported.

Parameters

bool $capture: Whether or not to support capture.

Return value

$this

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

File

src/Plugin/Payment/MethodConfiguration/MolliePayment.php, line 151

Class

MolliePayment
Provides the configuration for the mollie_payment payment method plugin.

Namespace

Drupal\mollie_payment\Plugin\Payment\MethodConfiguration

Code

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