Table of Contents

Class Ecommerce.Cart.DeletedArgs

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

Provides information about the deleted cart.

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

Examples

using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.Deleted)]
      public class EcomCartDeletedObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.DeletedArgs deletedArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.DeletedArgs;

              //Add code here
          }
      }
  }

Remarks

The passed NotificationArgs is Ecommerce.Cart.DeletedArgs

Constructors

DeletedArgs(Order)

Initializes a new instance of the Ecommerce.Cart.DeletedArgs class.

public DeletedArgs(Order cart)

Parameters

cart Order

The cart.

Properties

Cart

Gets the cart.

public Order Cart { get; }

Property Value

Order

The cart.

See Also

To top