You are here

public function DatabaseQueue::setAllowedPaymentStatusIds in Payment 8.2

Sets the allowed payment statuses.

Parameters

string[] $allowed_payment_status_ids: The IDs of the payment statuses available payments can have.

Return value

$this

File

src/DatabaseQueue.php, line 117

Class

DatabaseQueue
Provides a database-based payment queue.

Namespace

Drupal\payment

Code

public function setAllowedPaymentStatusIds(array $allowed_payment_status_ids) {
  $this->allowedPaymentStatusIds = $allowed_payment_status_ids;
  return $this;
}