You are here

class CheckoutCompleteEvent in Ubercart 8.4

Event that is fired when a customer completes checkout.

Hierarchy

Expanded class hierarchy of CheckoutCompleteEvent

1 file declares its use of CheckoutCompleteEvent
CartManager.php in uc_cart/src/CartManager.php

File

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

Namespace

Drupal\uc_cart\Event
View source
class CheckoutCompleteEvent extends Event {
  const EVENT_NAME = 'uc_cart_checkout_complete';

  /**
   * The order.
   *
   * @var \Drupal\uc_order\OrderInterface
   */
  public $order;

  /**
   * Constructs the object.
   *
   * @param \Drupal\uc_order\OrderInterface $order
   *   The order object.
   */
  public function __construct(OrderInterface $order) {
    $this->order = $order;
  }

}

Members