You are here

public function PaymentStatus::setDescription in Payment 8.2

Sets description.

Parameters

string $description:

Return value

\Drupal\payment\Entity\PaymentStatusInterface

Overrides PaymentStatusInterface::setDescription

File

src/Entity/PaymentStatus.php, line 133

Class

PaymentStatus
Defines a payment status entity.

Namespace

Drupal\payment\Entity

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}