Table of Contents

Class Ecommerce.Order.AfterDeleteArgs

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

Provides information about the order that was deleted.

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

Examples

using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterDelete)]
      public class EcomOrderAfterDeleteObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterDeleteArgs afterDeleteArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterDeleteArgs;

              //Add code here
          }
      }
  }

Remarks

The passed NotificationArgs is Ecommerce.Order.AfterDeleteArgs

Constructors

AfterDeleteArgs(Order)

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

public AfterDeleteArgs(Order order)

Parameters

order Order

The order.

AfterDeleteArgs(string)

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

public AfterDeleteArgs(string orderId)

Parameters

orderId string

The order identifier.

Properties

Order

Gets the order.

public Order Order { get; }

Property Value

Order

The order.

OrderId

Gets the order identifier.

public string OrderId { get; }

Property Value

string

The order identifier.

See Also

To top