You are here

public function Basic::setRefundStatusId in Payment 8.2

Sets the status to set on payment refund.

Parameters

string $status: The plugin ID of the payment status to set.

Return value

$this

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

File

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

Class

Basic
Provides the configuration for the payment_basic payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\MethodConfiguration

Code

public function setRefundStatusId($status) {
  $this->configuration['refund_status_id'] = $status;
  return $this;
}