Click or drag to resize

EcommerceCartCheckoutDoneOrderIsCompleteArgs Class

Provides information about order just when the Order is passed back from CheckoutHandler and is complete.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartCheckoutDoneOrderIsCompleteArgs

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

The EcommerceCartCheckoutDoneOrderIsCompleteArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartCheckoutDoneOrderIsCompleteArgs
Initializes a new instance of the EcommerceCartCheckoutDoneOrderIsCompleteArgs class
Top
Properties
  NameDescription
Public propertyOrder
Gets or sets the order.
Top
Remarks
The passed NotificationArgs is EcommerceCartCheckoutDoneOrderIsCompleteArgs
Examples
C#
using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.CheckoutDoneOrderIsComplete)]
      public class EcomCartCheckoutDoneOrderIsCompleteObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.CheckoutDoneOrderIsCompleteArgs checkoutDoneOrderIsCompleteArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.CheckoutDoneOrderIsCompleteArgs;

              //Add code here
          }
      }
  }
See Also