Click or drag to resize

EcommerceCartAfterDefaultPropertiesValueIsChangedArgs Class

Provides information about order and it's default properties just after it is changed.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartAfterDefaultPropertiesValueIsChangedArgs

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

The EcommerceCartAfterDefaultPropertiesValueIsChangedArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartAfterDefaultPropertiesValueIsChangedArgs
Initializes a new instance of the EcommerceCartAfterDefaultPropertiesValueIsChangedArgs class
Top
Properties
  NameDescription
Public propertyOrder
Gets or sets the order/cart.
Public propertyPropertyName
Gets or sets the property name.
Public propertyValue
Gets or sets the value of the Default Property.
Top
Remarks
The passed NotificationArgs is EcommerceCartAfterDefaultPropertiesValueIsChangedArgs
Examples
C#
using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterDefaultPropertiesValueIsChanged)]
      public class EcomCartAfterDefaultPropertiesValueIsChangedObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterDefaultPropertiesValueIsChangedArgs afterDefaultPropertiesValueIsChangedArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterDefaultPropertiesValueIsChangedArgs;

              //Add code here
          }
      }
  }
See Also