class CheckoutCompleteEvent in Ubercart 8.4
Event that is fired when a customer completes checkout.
Hierarchy
- class \Drupal\uc_cart\Event\CheckoutCompleteEvent extends \Symfony\Component\EventDispatcher\Event
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\EventView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CheckoutCompleteEvent:: |
public | property | The order. | |
CheckoutCompleteEvent:: |
constant | |||
CheckoutCompleteEvent:: |
public | function | Constructs the object. |