Click or drag to resize

EcommerceCartOrderIsPassedToCheckoutHandlerArgs Class

Provides information about order just when the order is passed to checkout handler.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartOrderIsPassedToCheckoutHandlerArgs

Namespace:  Dynamicweb.Ecommerce.Notifications
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.10.0
Syntax
public class OrderIsPassedToCheckoutHandlerArgs : NotificationArgs

The EcommerceCartOrderIsPassedToCheckoutHandlerArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartOrderIsPassedToCheckoutHandlerArgs
Initializes a new instance of the EcommerceCartOrderIsPassedToCheckoutHandlerArgs class
Top
Properties
  NameDescription
Public propertyCheckoutHandler
Gets or sets the CheckoutHandler.
Public propertyOrder
Gets or sets the order/cart.
Top
Remarks
The passed NotificationArgs is EcommerceCartOrderIsPassedToCheckoutHandlerArgs
Examples
C#
using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.OrderIsPassedToCheckoutHandler)]
      public class EcomCartOrderIsPassedToCheckoutHandlerObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.OrderIsPassedToCheckoutHandlerArgs orderIsPassedToCheckoutHandlerArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.OrderIsPassedToCheckoutHandlerArgs;

              //Add code here
          }
      }
  }
See Also