![]() | EcommerceOrderBeforePaymentFeeCalculationArgs Class |
Namespace: Dynamicweb.Ecommerce.Notifications
The EcommerceOrderBeforePaymentFeeCalculationArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | EcommerceOrderBeforePaymentFeeCalculationArgs |
Initializes a new instance of the EcommerceOrderBeforePaymentFeeCalculationArgs class.
|
Name | Description | |
---|---|---|
![]() | Order |
Gets the order.
|
![]() | PaymentFee |
Gets the payment fee.
|
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 } } }