You are here

public function CheckoutFlowBase::getOrder in Commerce Core 8.2

Gets the current order.

Return value

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

Overrides CheckoutFlowInterface::getOrder

File

modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php, line 150

Class

CheckoutFlowBase
Provides the base checkout flow class.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow

Code

public function getOrder() {
  return $this->order;
}