You are here

public function PaymentStatus::setId in Payment 8.2

Sets the payment method ID.

Parameters

string $id:

Return value

\Drupal\payment\Entity\PaymentStatusInterface

Overrides PaymentStatusInterface::setId

See also

\Drupal\Core\Entity\EntityInterface::id()

File

src/Entity/PaymentStatus.php, line 99

Class

PaymentStatus
Defines a payment status entity.

Namespace

Drupal\payment\Entity

Code

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