Click or drag to resize

EcommerceCartDeletedArgs Class

Provides information about the deleted cart.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartDeletedArgs

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

The EcommerceCartDeletedArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartDeletedArgs
Initializes a new instance of the EcommerceCartDeletedArgs class.
Top
Properties
  NameDescription
Public propertyCart
Gets the cart.
Top
Remarks
The passed NotificationArgs is EcommerceCartDeletedArgs
Examples
C#
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
          }
      }
  }
See Also