You are here

public function CheckoutFlowInterface::getOrder in Commerce Core 8.2

Gets the current order.

Return value

\Drupal\commerce_order\Entity\OrderInterface The current order.

1 method overrides CheckoutFlowInterface::getOrder()
CheckoutFlowBase::getOrder in modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php
Gets the current order.

File

modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowInterface.php, line 28

Class

CheckoutFlowInterface
Places an order through a series of steps.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow

Code

public function getOrder();