You are here

public function Basic::setExecuteStatusId in Payment 8.2

Sets the status to set on payment execution.

Parameters

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

Return value

$this

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

File

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

Class

Basic
Provides the configuration for the payment_basic payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\MethodConfiguration

Code

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