You are here

public function PaymentInterface::getState in Commerce Core 8.2

Gets the payment state.

Return value

\Drupal\state_machine\Plugin\Field\FieldType\StateItemInterface The payment state.

1 method overrides PaymentInterface::getState()
Payment::getState in modules/payment/src/Entity/Payment.php
Gets the payment state.

File

modules/payment/src/Entity/PaymentInterface.php, line 188

Class

PaymentInterface
Defines the interface for payments.

Namespace

Drupal\commerce_payment\Entity

Code

public function getState();