You are here

public function PaymentStatus::setParentId in Payment 8.2

Sets the parent plugin's ID.

Parameters

string $id:

Return value

\Drupal\payment\Entity\PaymentStatusInterface

Overrides PaymentStatusInterface::setParentId

File

src/Entity/PaymentStatus.php, line 117

Class

PaymentStatus
Defines a payment status entity.

Namespace

Drupal\payment\Entity

Code

public function setParentId($id) {
  $this->parentId = $id;
  return $this;
}