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