Class Ecommerce.Order.AfterDeleteArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about the order that was deleted.
- Inheritance
-
Ecommerce.
Order. After Delete Args
- Inherited Members
Examples
using Dynamicweb;
namespace Dynamicweb.Ecommerce.Examples.Notifications
{
[Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterDelete)]
public class EcomOrderAfterDeleteObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterDeleteArgs afterDeleteArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.AfterDeleteArgs;
//Add code here
}
}
}
Remarks
The passed NotificationArgs is Ecommerce.
Constructors
AfterDeleteArgs(Order)
Initializes a new instance of the Ecommerce.
Parameters
order
OrderThe order.
AfterDeleteArgs(string)
Initializes a new instance of the Ecommerce.
Parameters
orderId
stringThe order identifier.
Properties
Order
Gets the order.
Property Value
- Order
The order.
OrderId
Gets the order identifier.
Property Value
- string
The order identifier.