You are here

public function TrackCheckoutStepEvent::getOrder in Commerce Google Tag Manager 8.2

Same name and namespace in other branches
  1. 8 src/Event/TrackCheckoutStepEvent.php \Drupal\commerce_google_tag_manager\Event\TrackCheckoutStepEvent::getOrder()

Get the Checkout current order.

Return value

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

File

src/Event/TrackCheckoutStepEvent.php, line 58

Class

TrackCheckoutStepEvent
Event dispatched when a checkout step is tracked.

Namespace

Drupal\commerce_google_tag_manager\Event

Code

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