Class Ecommerce.Order.AfterOrderCapturedArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about order just when the Order is captured.
- Inheritance
-
Ecommerce.
Order. After Order Captured Args
- Inherited Members
Examples
using Dynamicweb.Ecommerce;
using Dynamicweb.Extensibility.Notifications;
namespace Dynamicweb.Examples.CSharp.Notifications.eCommerce.Order
{
/// <summary>
/// Observer for order after capture notification used for commiting avalara taxes.
/// </summary>
[Subscribe(Ecommerce.Notifications.Ecommerce.Order.AfterOrderCaptured)]
public class EcomOrderTaxCommitAfterCaptureObserver : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
//Getting arguments with captured order
Ecommerce.Notifications.Ecommerce.Order.AfterOrderCapturedArgs afterCaptureArgs = args as Ecommerce.Notifications.Ecommerce.Order.AfterOrderCapturedArgs;
}
}
}
Remarks
The passed NotificationArgs is Ecommerce.
Constructors
AfterOrderCapturedArgs(Order)
Parameters
order
Order
Properties
Order
Gets or sets the order.
Property Value
- Order
Order. Setting this from a notification subscriber will have no effect.