Table of Contents

Class Ecommerce.Cart.OrderIsPassedToCheckoutHandlerArgs

Namespace
Dynamicweb.Ecommerce.Notifications
Assembly
Dynamicweb.Ecommerce.dll

Provides information about order just when the order is passed to checkout handler.

public class Ecommerce.Cart.OrderIsPassedToCheckoutHandlerArgs : NotificationArgs
Inheritance
Ecommerce.Cart.OrderIsPassedToCheckoutHandlerArgs
Inherited Members

Examples

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
          }
      }
  }

Remarks

Properties

CheckoutHandler

Gets or sets the CheckoutHandler.

public CheckoutHandler CheckoutHandler { get; set; }

Property Value

CheckoutHandler

CheckoutHandler. Setting this from a notification subscriber will have no effect.

Order

Gets or sets the order/cart.

public Order Order { get; set; }

Property Value

Order

Order/cart. Setting this from a notification subscriber will have no effect.

See Also

To top