Table of Contents

Class Ecommerce.Order.AfterSaveArgs

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

Provides information about the order which was saved.

public class Ecommerce.Order.AfterSaveArgs : NotificationArgs
Inheritance
Ecommerce.Order.AfterSaveArgs
Inherited Members

Examples

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

Remarks

The passed NotificationArgs is Ecommerce.Order.AfterSaveArgs

Constructors

AfterSaveArgs(Order)

Initializes a new instance of the Ecommerce.Order.AfterSaveArgs class.

public AfterSaveArgs(Order order)

Parameters

order Order

The order.

Properties

Order

Gets the order.

public Order Order { get; }

Property Value

Order

The order.

See Also

To top