You are here

public function BeforePackEvent::getOrder in Commerce FedEx 8

Gets the order.

Return value

\Drupal\commerce_order\Entity\OrderInterface The order.

File

src/Event/BeforePackEvent.php, line 84

Class

BeforePackEvent
Defines the before pack event for FedEx.

Namespace

Drupal\commerce_fedex\Event

Code

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