public function MolliePayment::setRefund in Mollie 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 MolliePayment::setRefund()
- MolliePayment::submitConfigurationForm in src/
Plugin/ Payment/ MethodConfiguration/ MolliePayment.php - Form submission handler.
File
- src/
Plugin/ Payment/ MethodConfiguration/ MolliePayment.php, line 199
Class
- MolliePayment
- Provides the configuration for the mollie_payment payment method plugin.
Namespace
Drupal\mollie_payment\Plugin\Payment\MethodConfigurationCode
public function setRefund($refund) {
$this->configuration['refund'] = $refund;
return $this;
}