You are here

public function ExpressCheckoutRequestEvent::getOrder in Commerce PayPal 8

Gets the order.

Return value

\Drupal\commerce_order\Entity\OrderInterface|null The order, or NULL if unknown.

File

src/Event/ExpressCheckoutRequestEvent.php, line 48

Class

ExpressCheckoutRequestEvent
Defines the Express Checkout request event.

Namespace

Drupal\commerce_paypal\Event

Code

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