Class Ecommerce.Order.BeforeShippingFeeCalculationArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Provides information about order before shipping fee calculation.
public class Ecommerce.Order.BeforeShippingFeeCalculationArgs : NotificationArgs
- Inheritance
-
Ecommerce.Order.BeforeShippingFeeCalculationArgs
- Inherited Members
Examples
using Dynamicweb;
namespace Dynamicweb.Ecommerce.Examples.Notifications
{
[Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.BeforeShippingFeeCalculation)]
public class EcomOrderBeforeShippingFeeCalculationObserver : Dynamicweb.Extensibility.Notifications.NotificationSubscriber
{
public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args)
{
Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.BeforeShippingFeeCalculationArgs beforeShippingFeeCalculationArgs = args as Dynamicweb.Ecommerce.Notifications.Ecommerce.Order.BeforeShippingFeeCalculationArgs;
//Add code here
}
}
}
Remarks
The passed NotificationArgs is Ecommerce.Order.BeforeShippingFeeCalculationArgs
Constructors
BeforeShippingFeeCalculationArgs(Order)
Initializes a new instance of the Ecommerce.Order.BeforeShippingFeeCalculationArgs class.
public BeforeShippingFeeCalculationArgs(Order order)
Parameters
order
Order- The order.
- See Also
Properties
Order
Gets the order.
public Order Order { get; }
Property Value
- Order
- The order.
- See Also