Class Ecommerce.Cart.AfterShippingIsResetArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about order just after ShippingMethod is reset.
public class Ecommerce.Cart.AfterShippingIsResetArgs : NotificationArgs
- Inheritance
-
Ecommerce.Cart.AfterShippingIsResetArgs
- Inherited Members
Examples
using Dynamicweb;
namespace Dynamicweb.Ecommerce.Examples.Notifications
{
[Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterShippingIsReset)]
public class EcomCartAfterShippingIsResetObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterShippingIsResetArgs afterShippingIsResetArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.AfterShippingIsResetArgs;
//Add code here
}
}
}
Remarks
The passed NotificationArgs is Ecommerce.Cart.AfterShippingIsResetArgs
Properties
Order
Gets or sets the order/cart.
public Order Order { get; set; }
Property Value
- Order
Order/cart. Setting this from a notification subscriber will have no effect.