You are here

public function PaymentInterface::setPaymentStatuses in Payment 8.2

Sets/replaces all statuses without notifications.

Parameters

\Drupal\payment\Plugin\Payment\Status\PaymentStatusInterface[] $payment_statuses:

Return value

\Drupal\payment\Entity\PaymentInterface

1 method overrides PaymentInterface::setPaymentStatuses()
Payment::setPaymentStatuses in src/Entity/Payment.php
Sets/replaces all statuses without notifications.

File

src/Entity/PaymentInterface.php, line 45

Class

PaymentInterface
Defines a payment entity type .

Namespace

Drupal\payment\Entity

Code

public function setPaymentStatuses(array $payment_statuses);