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