You are here

public function MolliePayment::getSettablePaymentStatuses in Mollie Payment 8.2

Returns the statuses that can be set on a payment.

Parameters

\Drupal\Core\Session\AccountInterface $account:

\Drupal\payment\Entity\PaymentInterface $payment: The payment to set the status on.

Return value

string[] The plugin IDs of the settable statuses.

Overrides PaymentMethodUpdatePaymentStatusInterface::getSettablePaymentStatuses

File

src/Plugin/Payment/Method/MolliePayment.php, line 257

Class

MolliePayment
A payment method using Mollie.

Namespace

Drupal\mollie_payment\Plugin\Payment\Method

Code

public function getSettablePaymentStatuses(AccountInterface $account, PaymentInterface $payment) {
  return [];
}