You are here

public function CheckoutCompleteEvent::__construct in Ubercart 8.4

Constructs the object.

Parameters

\Drupal\uc_order\OrderInterface $order: The order object.

File

uc_cart/src/Event/CheckoutCompleteEvent.php, line 28

Class

CheckoutCompleteEvent
Event that is fired when a customer completes checkout.

Namespace

Drupal\uc_cart\Event

Code

public function __construct(OrderInterface $order) {
  $this->order = $order;
}