Click or drag to resize

EcommerceCartBeforeShippingIsResetArgs Class

Provides information about order just before ShippingMethod is reset.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceCartBeforeShippingIsResetArgs

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

The EcommerceCartBeforeShippingIsResetArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceCartBeforeShippingIsResetArgs
Initializes a new instance of the EcommerceCartBeforeShippingIsResetArgs class
Top
Properties
  NameDescription
Public propertyOrder
Gets or sets the order/cart.
Top
Remarks
The passed NotificationArgs is EcommerceCartBeforeShippingIsResetArgs
Examples
C#
using Dynamicweb;

  namespace Dynamicweb.Ecommerce.Examples.Notifications
  {
      [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeShippingIsReset)]
      public class EcomCartBeforeShippingIsResetObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
      {
          public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
          {
              Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeShippingIsResetArgs beforeShippingIsResetArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeShippingIsResetArgs;

              //Add code here
          }
      }
  }
See Also