Click or drag to resize

EcommerceOrderAfterSaveArgs Class

Provides information about the order which was saved.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceOrderAfterSaveArgs

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

The EcommerceOrderAfterSaveArgs type exposes the following members.

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

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterSave)]
      public class EcomOrderAfterSaveObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterSaveArgs afterSaveArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterSaveArgs;

              //Add code here
          }
      }
  }
See Also