Class Ecommerce.Cart.BeforeDefaultPropertiesValueIsSetArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about order and it's default properties just before it is set.
public class Ecommerce.Cart.BeforeDefaultPropertiesValueIsSetArgs : NotificationArgs
- Inheritance
-
Ecommerce.Cart.BeforeDefaultPropertiesValueIsSetArgs
- Inherited Members
Examples
using Dynamicweb;
namespace Dynamicweb.Ecommerce.Examples.Notifications
{
[Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeDefaultPropertiesValueIsSet)]
public class EcomCartBeforeDefaultPropertiesValueIsSetObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeDefaultPropertiesValueIsSetArgs beforeDefaultPropertiesValueIsSetArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Cart.BeforeDefaultPropertiesValueIsSetArgs;
//Add code here
}
}
}
Remarks
The passed NotificationArgs is Ecommerce.Cart.BeforeDefaultPropertiesValueIsSetArgs
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.
- See Also
PropertyName
Gets or sets the property name.
public string PropertyName { get; set; }
Property Value
- string
- String. Setting this from a notification subscriber will have no effect.
- See Also
Value
Gets or sets the value of the Default Property.
public object Value { get; set; }
Property Value
- object
- Object. Setting this from a notification subscriber will have no effect.
- See Also