Click or drag to resize

EcommerceOrderBeforePaymentFeeCalculationArgs Class

Provides information about order before payment fee calculation.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Extensibility.NotificationsNotificationArgs
    Dynamicweb.Ecommerce.NotificationsEcommerceOrderBeforePaymentFeeCalculationArgs

Namespace:  Dynamicweb.Ecommerce.Notifications
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.10.0
Syntax
public class BeforePaymentFeeCalculationArgs : NotificationArgs

The EcommerceOrderBeforePaymentFeeCalculationArgs type exposes the following members.

Constructors
  NameDescription
Public methodEcommerceOrderBeforePaymentFeeCalculationArgs
Initializes a new instance of the EcommerceOrderBeforePaymentFeeCalculationArgs class.
Top
Properties
  NameDescription
Public propertyOrder
Gets the order.
Public propertyPaymentFee
Gets the payment fee.
Top
Remarks
The passed NotificationArgs is EcommerceOrderBeforePaymentFeeCalculationArgs
Examples
C#
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
          }
      }
  }
See Also