You are here

public function PaymentInterface::setPaymentStatus in Payment 8.2

Sets a status.

Parameters

\Drupal\payment\Plugin\Payment\Status\PaymentStatusInterface $payment_status:

Return value

\Drupal\payment\Entity\PaymentInterface

1 method overrides PaymentInterface::setPaymentStatus()
Payment::setPaymentStatus in src/Entity/Payment.php
Sets a status.

File

src/Entity/PaymentInterface.php, line 54

Class

PaymentInterface
Defines a payment entity type .

Namespace

Drupal\payment\Entity

Code

public function setPaymentStatus(PluginPaymentStatusInterface $payment_status);